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?
 
Back
Top