Assembly.GetEntryAssembly

  • Thread starter Thread starter SS
  • Start date Start date
S

SS

Assembly.GetEntryAssembly(); is returning null in
asp.net. it works fine with Win apps. How to get the entry
assembly in web apps
 
SS said:
Assembly.GetEntryAssembly(); is returning null in
asp.net. it works fine with Win apps. How to get the entry
assembly in web apps

I have used GetExecutingAssemby(), it works fine.

What should GetEntryAssembly() return? Assembly of the page of your first
request? The one with Global.asax? I suppose MS has set it to null because
it has little meaning in WebApps...

Steven

- - -
 

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