toddams/RazorLight

Could not find a part of the path with UNC paths

Closed this issue · 0 comments

Describe the bug
Deployed application to IIS with site placed on shared folder (like \server\iisapps\webapp)
After calling razorlight in stack this is throw error like below
Could not find a part of the path C:\iisapps\webapp\webapp\bin\System.ValueTuple.DLL
It's look like searching does not work with UNC paths and translated to local path

To Reproduce
Make some app using embedded resource template, deploy to IIS with site hosted on UNC path share

Expected behavior
Do not throw exception and look file on right path

Information (please complete the following information):