Closed jordanhammond closed 5 years ago
I've only just come by this project which look perfect, however IIS is throwing an error when I try to compile:
Unhandled exception at 0x00007FFD554FBEF0 (libsass64.dll) in w3wp.exe: Stack cookie instrumentation code detected a stack-based buffer overrun.
This is my test code, am I missing anything? The usage wiki is a bit out of date.
var currentPath = Server.MapPath("/content/css"); var inputPath = Path.Combine(currentPath, "scss\\site.scss"); var includePaths = new List<string> { Path.Combine(currentPath, "scss"), Path.Combine(currentPath, "scss\\library"), Path.Combine(currentPath, "scss\\plugins") }; var sassOptions = new SassOptions { InputPath = inputPath, IncludePaths = includePaths.ToArray(), OutputStyle = SassOutputStyle.Compact }; var sassCompiler = new SassCompiler(sassOptions); var sassResult = sassCompiler.Compile(); var cssString = sassResult.Output;
Ignore this, my input path was incorrect. However I would expect that the library handle the error a bit more gracefully than crashing w3wp.exe ....
I've only just come by this project which look perfect, however IIS is throwing an error when I try to compile:
This is my test code, am I missing anything? The usage wiki is a bit out of date.