You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Set up an ASP.NET Core application.
Install and configure the SassCompiler as per the documentation.
Deploy the application to IIS.
Attempt to load a page that uses Sass styles.
Page does not load
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):
OS: Windows Server
Browser: Firefox
Version: 128
Smartphone (please complete the following information):
Device: iPhone 12
OS: iOS 14.6
Browser: Safari
Version: Latest
Additional context
This issue occurs specifically when hosting the application on IIS. It works as expected when running locally using Kestrel.
The text was updated successfully, but these errors were encountered:
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/- folder) are available then it should work. And as far as I can see, it does work when running a published project in release mode via Kestrel.
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.
The text was updated successfully, but these errors were encountered: