libsass-net icon indicating copy to clipboard operation
libsass-net copied to clipboard

SassCompiler.CompileFile does not work with UNC paths

Open jptissot opened this issue 11 years ago • 6 comments

I am trying to compile a file passing in a UNC path and the compiler throws an exception

jptissot avatar Nov 19 '14 19:11 jptissot

yeah, last i checked libsass didn't support unc paths, but that was forever ago, so i'll go re-verify that's still the case, but likely it's a libsass issue. i'll double check that it's not something i'm doing though or if their new api resolves the issue.

darrenkopp avatar Nov 19 '14 19:11 darrenkopp

Any progress on this? I'm using libsassnet.x64-v3.2.5.1 and CompileFile with UNC path throws SassCompileException with message:

Error: File to read not found or unreadable: \\....

maraf avatar Nov 25 '15 10:11 maraf

The alpha version of the latest libsass code has been pushed to nuget. not sure if it addresses this issue or not and I don't have a unc path to test it on at the moment.

darrenkopp avatar Jul 11 '16 23:07 darrenkopp

In my case it works well. Thanks!

maraf avatar Sep 02 '16 08:09 maraf

hello is this still an open untested issue? I'm currently using the libsassnet library from the nuget package, and seems that my imports are not well recognised on my azure web application.

marinswk avatar Aug 25 '17 14:08 marinswk

@marinswk as far as I know, libsass still doesn't support unc paths. Usually azure web applications have acess to local file system though, so if you are deploying the scss files with the application, it should work there (path would be something like d:\wwwroot\...)

darrenkopp avatar Aug 26 '17 17:08 darrenkopp