[MonoDevelop] C# not working on Windows XP - array not initialized

maresjiri maresjiri at yahoo.com
Sat May 19 21:30:40 UTC 2012


I created a very simple project using monodevelop 3.0 on Ubuntu and it was
working as expected. Then I run the same thing using same version of
monodevelop 3.0 but this time for Windows XP. The project is a hello word
example with added two lines, please see code below.

I created two arrays, test and test2. test2 is a list of strings and works
as expected (i.e. is populated and content is shown in debug window). test
is a list of integers and gets populated when running on Ubuntu but when
running on Windows XP I am getting the following error:
"A class is not loaded. (Exception from HRESULTS:0x80131303)"

I tried to switch from Mono 4.0 to 3.5 and then to 2.0 but did not help. I
even installed Monodevelop on another machine - with the same result.

Could you please point me to the right direction. Any comments would be
appreciated.

Many thanks
Jiri
 


using System;

namespace test_console
{
	class MainClass
	{
		public static void Main (string[] args)
		{
			Console.WriteLine ("Hello World!");
			
		int[] test = {1,2,3,4,5,6};
		string[] test2 = {"1","2","3"};
		throw new System.NotImplementedException ();
			
		}
	}
}

--
View this message in context: http://mono.1490590.n4.nabble.com/C-not-working-on-Windows-XP-array-not-initialized-tp4646288.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.


More information about the Monodevelop-list mailing list