I usually love WebEssentials and it generally sits there quietly helping out as and when needed. Unfortunately the latest version crashes Visual Studio 2013 every time I open a .less file. I was having to resort to editing my less in notepad, so I've had to uninstall again.
This version also seems to create .map and .min files differently throughout our team even though we all have the same settings and don't want either of these file types creating (we use bundlers).
So far pretty happy, but disabling sourcemap files for SASS doesn't disable the creation of the /*# sourceMappingURL=style.css.map */ comment in the compiles css. Seems like a bug to me. I get a 404 error when the browser looks for style.css.map.
There are things in it that don't matter much to someone who is strictly front end, and not a big fan of the built-in debugging tools of VS, but all in all, it does make life much easier, especially intellisense and syntax recognition of .less files and the likes.
Web Essentials is not compatible with Visual Studio Express 2013 for web. Too many steps just to create TypeScript projects.
Searching for applicable products... Found installed product - Microsoft Visual Studio Express 2013 for Web Found installed product - Global Location Found installed product - ssms VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
I installed Visual Studio 2013 update 2 ctp 2 and I installed Web Essential 2013 nightly. I know web essentials 2013 nightly is not release. I say some feedback. Visual studio 2013 update 2 ctp 2 has scss formatting after web essentials 2013 nightly it is not working. HTML formatting is not running when scss file is open. Also maybe add intellisense for @ character in sass files.
I've used this extension with VS 2012 and was excited to use VS 2013 so I added this extension that I use daily but I keep getting an exception has encountered error. This may be caused by an extension and it gives me the path for the error log.
When I go into my tools options and look at the extension I get "An error occurred loading this property page."
UPDATE: Upgraded to 1.9. Seems to have fixed the UI slowdown issue. Back to being an essential plugin again.
As others have commented I've had to disable this addon (1.8.5) also due to UI slow-downs over time eventually causing Visual Studio to become unusable requiring a restart. I have no doubt this will get fixed soon as Mads has mads programming skills but I do miss it in the interim.
Any idea why disabling sourcemap files for SASS doesn't disable the creation of the /*# sourceMappingURL=style.css.map */ comment in the compiled css?
Seems like a bug to me. I get a 404 error when the browser looks for style.css.map.
The only download of Web Essentials available is one that depends on an RC version? that isnt fair! I do not have this nice update dialog to find myself digging the internet trying to find an update. Can you please relax a bit and give us an earlier version until VS make their update available in their Update dialog?
I am getting the following error any time I open something (from ActivityLog.xml):
<source>Editor or Editor Extension</source>
<description>System.NotImplementedException: The method or operation is not implemented.
at Microsoft.VisualStudio.Editor.Implementation.SecondaryVsTextBufferAdapter.Microsoft.VisualStudio.Shell.Interop.IPersistFileFormat.GetCurFile(String& ppszFilename, UInt32& pnFormatIndex)
at MadsKristensen.EditorExtensions.IVsExtensions.GetFileName(IPropertyOwner owner)
at MadsKristensen.EditorExtensions.Css.UnusedCssTagger.GetTags(NormalizedSnapshotSpanCollection spans)
Maybe I missed it, but I did not find a solution anywhere as of yet. Has anyone come up with something that works other than disabling the extension?
My Visual Studio version is this:
Microsoft Visual Studio Express 2013 for Web
Version 12.0.30324.00 Update 2 RC
When I try to install Web Essentials, I get an error saying it is not installable on any currently installed product. This is the log:
Microsoft VSIX Installer
Identifier : 5fb7364d-2e8c-44a4-95eb-2a382e30fec8
Name : Web Essentials 2013 for Update 2 RC
Author : Mads Kristensen
Version : 2.0
Description : Adds many useful features to Visual Studio for web
Locale : en-US
MoreInfoURL : http://vswebessentials.com/
InstalledByMSI : False
SupportedFrameworkVersionRange : [4.5]
Supported Products :
Version : [12.0]
Identifier : Microsoft.VisualStudio.MPF.12.0
Name : Visual Studio MPF 12.0
Version : [12.0,13.0)
Nested : No
Identifier : 0AC2ABB1-6383-4608-BA51-B58A23DD9E8A
Name : VS2013 Update 2 RC
Version : [2013.2.50314,2014.0)
Nested : No
Searching for applicable products...
Found installed product - Microsoft Visual Studio Express 2013 for Web
Found installed product - Global Location
Found installed product - ssms
VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
Am I missing something?
Some of my JS files give me a minify option, others don't. If I delete the .min.js file then the menu reappears, but randomly disappears again.
For the .JS files where minify is disabled, I instead get options to run JSLint and JSCS, which aren't available on the JS files that DO allow me to minify. Is there a trick here?
An exception was thrown when compiling ~\Content\bootstrap.scss: System.NullReferenceException: Object reference not set to an instance of an object.
at MadsKristensen.EditorExtensions.CssSourceMap.CorrectionsForScss(String cssFileContents)
at MadsKristensen.EditorExtensions.CssSourceMap.CollectRules(String targetFileName)
at MadsKristensen.EditorExtensions.CssSourceMap.PopulateMap(String targetFileName, String mapFileName)
at MadsKristensen.EditorExtensions.CssSourceMap.Initialize(String targetFileName, String mapFileName, IContentType contentType)
at MadsKristensen.EditorExtensions.CssCompilerResult..ctor(String sourceFileName, String targetFileName, String mapFileName, Boolean isSuccess, String result, IEnumerable`1 errors)
at MadsKristensen.EditorExtensions.CompilerResultFactory.GenerateResult(String sourceFileName, String targetFileName, String mapFileName, Boolean isSuccess, String result, IEnumerable`1 errors)
at MadsKristensen.EditorExtensions.NodeExecutorBase.ProcessResult(Process process, String errorText, String sourceFileName, String targetFileName, String mapFileName)
I just finished installing VS2013 Update 2 RC and restarting my machine. The Web Essentials install says:
The following references must be present before installation can continue:
VS2013 Update 2 RC
I fired up procmon to see if I could tell what is missing but nothing sticks out.
What am I missing?