madskristensen / WebCompiler

Visual Studio extension for compiling LESS and Sass files
Other
451 stars 174 forks source link

No Compile Option (NullReferenceException) #423

Open timothydungan opened 5 years ago

timothydungan commented 5 years ago

Installed product versions

Description

Installing and enabling the WebCompiler extension and even restarting the application does not result in any Compile option being available for SCSS files.

Steps to recreate

  1. Install and enable WebCompiler
  2. Right click on SCSS file in Source Explorer
  3. There's no compile option

Current behavior

Not only is there no Compile option, but trying to save an SCSS file results in a NullReferenceException error. See below:

System.NullReferenceException: Object reference not set to an instance of an object.at WebCompilerVsix.Listeners.SourceFileCreationListener.DocumentSaved(Object sender, TextDocumentFileActionEventArgs e) in C:\projects\webcompiler\src\WebCompilerVsix\FileListeners\SourceFileCreationListener.cs:line 64at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, EventHandler1 eventHandlers, TArgs args) --- End of stack trace from previous location where exception was thrown ---at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)`

Expected behavior

Compile option should be visible on right click of SCSS file. Saving an SCSS file should automatically result in a compiled CSS and minimized CSS file.

nschinagl commented 4 years ago

I have the same issue. Did you find a solution?

themodulator commented 2 years ago

This issue is till open?

nschinagl commented 2 years ago

I do not use the WebCompiler anymore.