Closed gopinathbecse closed 6 years ago
Hello!
I recommend you read the “No CSS or .map files are output, despite correct output path specified” discussion.
Thanks, for the reference @Taritsyn. I read the documentation again!
It should also be noted, that this library does not write the result of compilation to disk. Compile and CompileFile methods of the SassCompiler class return the result of compilation in the form of an instance of the CompilationResult class.
Hello @Taritsyn ,
When I try to run the samples from https://github.com/Taritsyn/LibSassHost/tree/master/samples which is calling functions
LibSassHost.SassCompiler.CompileFile()
orLibSassHost.SassCompiler.Compile()
, I can see the compiled string inCompilationResult
but NO CSS file generated in the targeted output file path.Do I need to install any special package to make this work?
Note: My target framework is
NET40
File.WriteAllText(context.OutputPath, context.OutputString);
- will this be enough to save CSS as a file?Can you help me to resolve this issue?