AppDomain.CurrentDomain.BaseDirectory in ASP.Net for UNC path.

  • Thread starter Thread starter George Nevsky
  • Start date Start date
G

George Nevsky

My ASP.Net application installed in IIS virtual folder which points to some
shared folder on network. Everything works fine except
AppDomain.CurrentDomain.BaseDirectory method. It returns
E:\WINDOWS\system32\apokrifpc\Services\Release\cnLogger\ instead of
\\apokrifpc\Services\Release\cnLogger\.

How to get correct assembly path?
 

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