[MonoDevelop] Unit testing MonoDevelop

Jacob Ilsø Christensen jacobilsoe at gmail.com
Fri Mar 17 16:27:30 EST 2006


Hi.

I am trying to write some unit tests for MonoDevelop but I have a
little problem.

I want to call Runtime.Initialize(), but I get a
NullReferenceException when running the test through NUnit. I have
tracked the issue down to a call to
Assembly.GetEntryAssembly().Location. Assembly.GetEntryAssembly()
seems to be null which might be because it is called from another
AppDomain? Does anyone have experience with this? Or maybe we could
use some other method to determine the location?

Thanks in advance,
Jacob


More information about the Monodevelop-list mailing list