Hello!

I have a problem with the Assembly.GetEntryAssembly() method. I get an
exception when the method is invoked saying: "Object reference not set to an
instance of an object". What could cause this problem? Does it have
something to do with the AssemblyInfo file?

Thanks
Linus Rörstad

Re: GetEntryAssembly problem by Mattias

Mattias
Thu Aug 19 19:12:34 CDT 2004

Linus,

If you're using VB.NET on v1.0 of the framework, make sure you name
your Main method exactly "Main" (case sensitive), and not "main" for
example.



Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.