sass / libsass-net

A lightweight wrapper around libsass
MIT License
94 stars 35 forks source link

SassCompiler.CompileFile does not work with UNC paths #11

Open jptissot opened 9 years ago

jptissot commented 9 years ago

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

darrenkopp commented 9 years ago

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.

maraf commented 8 years ago

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: \\....

darrenkopp commented 7 years ago

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.

maraf commented 7 years ago

In my case it works well. Thanks!

marinswk commented 6 years ago

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.

darrenkopp commented 6 years ago

@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\...)