SassyStudio icon indicating copy to clipboard operation
SassyStudio copied to clipboard

SassyStudio throws exception while saving .scss

Open wladyslawczyzewski opened this issue 11 years ago • 2 comments
trafficstars

HI,

Yesterday I installed the newest version of SassyStudio (0.8.9.0) and noticed that SassyStudio throws FileNotFoundException while I tried to compile the css.

Could you please inspect this behavior?

There is a full stack trace of exception from Output window in VS2012 (Upd4)

12:11:58.807 PM: Failed to compile css.
[FileNotFoundException]Could not load file or assembly 'LibSass.x86.dll' or one of its dependencies. The specified module could not be found.
  at LibSassNet.SassCompiler..ctor()
  at SassyStudio.Integration.LibSass.LibSassNetDocumentCompiler.<.ctor>b__0()
  at System.Lazy`1.CreateValue()
  at System.Lazy`1.LazyInitValue()
  at System.Lazy`1.get_Value()
  at SassyStudio.Integration.LibSass.LibSassNetDocumentCompiler.Compile(FileInfo source, FileInfo output)
  at SassyStudio.Integration.LibSass.LibSassNetDocumentCompiler.<>c__DisplayClass3.<CompileAsync>b__2()
  at System.Threading.Tasks.Task.InnerInvoke()
  at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at SassyStudio.Editor.GenerateCssOnSave.<GenerateCss>d__14.MoveNext()

wladyslawczyzewski avatar Oct 21 '14 10:10 wladyslawczyzewski

Yeah, someone reported this yesterday, it's because the new version of libsass requires VS2013 to compile. I'm looking into how to make it compile with VS2012, but until then, if you install this it'll start working again.

http://www.microsoft.com/en-us/download/details.aspx?id=40784

darrenkopp avatar Oct 21 '14 14:10 darrenkopp

@darrenkopp, I installed that using Visual Studio Ultimate 2012 version 11.0.61030.00 Update 4 and still got the error. My stack trace is identical:

11:33:18.318 AM: Failed to compile css.
[FileNotFoundException]Could not load file or assembly 'LibSass.x86.dll' or one of its dependencies. The specified module could not be found.
   at LibSassNet.SassCompiler..ctor()
   at SassyStudio.Integration.LibSass.LibSassNetDocumentCompiler.<.ctor>b__0()
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at System.Lazy`1.get_Value()
   at SassyStudio.Integration.LibSass.LibSassNetDocumentCompiler.Compile(FileInfo source, FileInfo output)
   at SassyStudio.Integration.LibSass.LibSassNetDocumentCompiler.<>c__DisplayClass3.<CompileAsync>b__2()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at SassyStudio.Editor.GenerateCssOnSave.<GenerateCss>d__14.MoveNext()

don01001100 avatar Dec 21 '15 16:12 don01001100