Open gumbarros opened 1 month ago
Hi @gumbarros ,
I don't have access to a server running IIS, but if I add the property <SassCompilerIncludeRuntime>true</SassCompilerIncludeRuntime>
to my csproj, then run dotnet publish -c Release -o publish
, I do see that the sass executables is copied to the publish directory and it can run the sass file watcher without issues.
As long as the sass executables (dart.exe and sass.snapshot in the runtimes/
Describe the bug Des not work on IIS. When attempting to use the SassCompiler with an ASP.NET Core application hosted on IIS, the compiler fails to process Sass files.
To Reproduce Steps to reproduce the behavior:
Expected behavior The SassCompiler should correctly process Sass files into CSS when the application is hosted on IIS, without any errors.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context This issue occurs specifically when hosting the application on IIS. It works as expected when running locally using Kestrel.