GetEntryAssembly problem

  • Thread starter Thread starter Linus Rörstad
  • Start date Start date
L

Linus Rörstad

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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top