SassyStudio icon indicating copy to clipboard operation
SassyStudio copied to clipboard

New SCSS File compiles to CSS ONLY if I close and reopen the solution

Open tx-tim opened this issue 11 years ago • 2 comments
trafficstars

Using VS Premium 2013 I created a new ASP.NET empty web site project. Added a styles folder and started writing my scss. Received this error:

03:36:21.428 PM: ProjectItems is null. Bad news is about to happen. 03:36:21.428 PM: Failed to include theme.css in project under theme.scss [NullReferenceException]Object reference not set to an instance of an object. at SassyStudio.InteropHelper.AddNestedFile(DTE2 dte, String parent, String child, BuildActionType type) at SassyStudio.Editor.GenerateCssOnSave.AddFileToProject(FileInfo source, FileInfo target, ScssOptions options)

tx-tim avatar Jan 08 '14 21:01 tx-tim

thanks for reporting this, sounds like same thing that's happening in #24.

The CSS file should be getting generated successfully, it's just unable to nest the file under the scss file in the project. I'll see if I can figure out what's causing that property to be null though.

darrenkopp avatar Jan 09 '14 06:01 darrenkopp

Thanks for looking into this

tx-tim avatar Jan 09 '14 22:01 tx-tim