Web Essentials 2012

Free

Adds many useful features to Visual Studio for web developers.

(189) Review
Visual Studio
2012
Download (972,705)
2/25/2014
3.7
View
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (189)
Q and A (308)
Sign in to write a review
Sort by:

by Shreeharsh Ambli | Thu 1:51 PM

brings in new capabilities

by Ilya Galakhov | February 19 2014

Thank You!

by Jitbit1 | February 04 2014

No more LESS support in the latest version. But "LESS" is there on the product page, there's even a LESS-settings tab in the options. Thanks for ruining our work process.

This extension is #1 result in Google for "Visual Studio LESS".

PS. the new "ASP.NET and Web Tools 2012.2" only highlights LESS code, but does not compile it!! So your answer does not help!!

by Proco | January 27 2014

Amazing extension!

by Richard D | December 19 2013

Nice tools, but unfortunately Typescript is left out of the recent update. So a lot of the functionality I used is not available anymore.

:-(

by harwi | November 30 2013

Great tool!

by Breno Queiroz | November 27 2013

You Must Have It!

by Balaji M Kundalam | November 23 2013

Useful add on.

by GK Dev | November 20 2013

by TW Scannell | November 19 2013

This says is updated today.It fails to install in VS 2012 Express

Mads Kristensen November 20 2013
| Edit |
Delete

Unfortunately, VS Express doesn't support 3rd party extension. It's not a limitation of Web Essentials

by Eliezer Perlmutter | November 01 2013

by Leonardo Lourenço Silva | November 01 2013

Very USeful !!!

by Christiaan Rakowski | October 28 2013

by HiTech Magic | October 22 2013

Dropping support for TypeScript (without plastering that "little" detail all over the download page) has just cost me 4 wasted hours and sent me full circle back to the old Web Essentials.

1. Installed Web essential update
- lost TypeScript support

2. Installed separate TypeScript add-in from MS
- Does not build existing TypeScript files in project

3. Researched how to modify project to get it to build TypeScript files
- Still does not build existing TypeScript files in project

4. Created a new project minimal testbed to test TypeScript compiling
- ts files are added, with TypeScriptCompile option, but do not generate .js files at all. Tools | Options etc have no effect

5. Researched this new problem
- Gave up in disgust

6. Uninstalled TypeScript & latest Web Essentials

7. Installed old Web Essentials
- Luckily this was still in my download folder

8. Have now lost color-coding, intellisense and all those other features that made Web Essentials useful.
- Decide to write grumpy review :(

I have never had so much grief from one update. In future I will Google for problems with the updates before even thinking about pressing upgrade!

by Cattousa | October 15 2013

WebEssentials 2012 is a stellar extension. Being able to collapse JavaScript between {curly brackets} is very useful.

by Ytrog | October 15 2013

Good plugin although the CoffeeScript functionality doesn't compile the scripts and crashes vs2012 every time I try :(

by Aleksandar Totovic | October 08 2013

It's very nice

by Kijana Woodard | October 04 2013

Overall nice, but last update broke markdown support in VS2012. I can't edit the files anymore. Having to use npp++. :-[

Mads Kristensen October 05 2013
| Edit |
Delete

This is now fixed in version 3.2

by dirq | October 02 2013

Love it. All the things missing in Visual Studio are right here. You need this.

by rainbow_tj007 | September 19 2013

very nice

1 - 20 of 189 Items   
Sign in to start a discussion


  • SCSS/SASS support?
    2 Posts | Last post May 06, 2013
    • Hello , 
      
      Do you plan on bringing a SCSS/SASS support any time soon ? there is another plugin for that , but it doesn't feel as polished as yours and it brings a ton of other features that i don't really need.
      
      Thanks!
    • I would like to echo the sentiments of Aviatrix. I use the "other" plug-in and it doesn't feel as polished as this (and I pay for it). I don't like LESS as much as SCSS (a.k.a. SASS) and that other plug-in is the only one of it's kind to work with visual studio.
  • css files not showing nested under less file.
    1 Posts | Last post April 28, 2013
    • I have WE 2.6 installed on my work and home PC's, both with VS 2012.2. The css files show linked under the less file on my home PC, but not on my work PC. Both MVC 4.0 apps. Is there a setting I'm missing?
  • Rename page codebehind bug
    2 Posts | Last post April 28, 2013
    • I have noticed that when I rename an aspx file, the code behind drops the .aspx part and visual studio does not nest the file. Through trial and error I managed to find out that it is Web Essentials 2012 that is causing the issue and with the Plugin disabled it doesn't occur.
    • I can confirm the bug and it's REALLY annoying one :(
  • CSS bundle crash VS2012
    1 Posts | Last post April 25, 2013
    • Hi,
      
      Making a CSS bundle crashes VS2012 if one of the CSS files do NOT belong to the project.  On a whim, I added the CSS to the project and the error no longer occurred.
      
      Trace...
      System.NullReferenceException was unhandled
        HResult=-2147467261
        Message=Object reference not set to an instance of an object.
        Source=WebEssentials2012
        StackTrace:
             at MadsKristensen.EditorExtensions.FileHelpers.RelativePath(String absPath, String relTo)
             at MadsKristensen.EditorExtensions.BundleFilesMenu.WriteFile(String filePath, IEnumerable`1 files, String extension, String output)
             at MadsKristensen.EditorExtensions.BundleFilesMenu.<>c__DisplayClasse.<CreateBundlefile>b__a()
             at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
             at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
             at System.Windows.Threading.DispatcherOperation.InvokeImpl()
             at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
             at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
             at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
             at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
             at System.Windows.Threading.DispatcherOperation.Invoke()
             at System.Windows.Threading.Dispatcher.ProcessQueue()
             at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
             at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
      
  • Build TS on save options crashes web essentials
    3 Posts | Last post April 16, 2013
    • Hi,
      
      with build typescript on save checked, whenever I now build my project the output from web essentials (ver 2.6 vs2012) contains the following exceptions ;
      
      15/04/2013 15:54:01: Object reference not set to an instance of an object.
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
      15/04/2013 15:54:01: Object reference not set to an instance of an object.
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
      15/04/2013 15:54:01: Object reference not set to an instance of an object.
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
      
      Any ideas, I've uninstalled and reinstalled without any success.
      
      Thanks,
    • sorry that should have been 'with compile on build' switched on, this is an mvc 4 application.
    • This seems to be related to out web project, which contains the typescript files, being contained in a solution folder. 
      
      remove it from the solution folder and place at the root of the solution, and it works fine.
      
      
  • Version 2.6 crashes VS2012
    1 Posts | Last post April 16, 2013
    • Hi,
      
      we've just started using Web Essentials with VS2012 for a new project and thus also started building our CSS from the ground up using LESS.
      
      Unfortunately, we've then been scratching our heads as to why rebuilding our solution didn't also recompile all the LESS files even though exactly that was configured in the LESS options page.
      
      I then threw Reflector and another instance of VS2012 at it and found out that our web app being in a solution folder instead of the root of the solution was the culprit - could you perhaps add recursing into solution folders when looking for projects to compile?
      
      Also, while doing that I found that VS crashes with a "file not found" exception at LessProjectCompiler.MinifyFile when compiling the LESS files during building when the associated minified file is missing and minification is activated. I assume if the file doesn't exist it should just be created... :)
      
      (The reason for that was that we didn't want to check the generated files into our Subversion repository so after a fresh checkout those files will always be missing, and having to touch each of them once to have the minified files generated is iffy...)
      
      Hope this helps.
      
      Kind regards
      
  • Compiling Less Files to CSS on Save doesn't Work for Dependencies
    1 Posts | Last post April 11, 2013
    • If I have a "base.less" file that uses for example
      
          @import-once "palette"
      
      and I create a style bundle for "base.css", the css file only self-builds when I save base.less but not when I save palette.css.
      
      This is a bit of a pain, as it means I have to remember to save all the files that include a dependency every time I change the dependency, so there's a good chance of error.
      
      Is there a better way? I've tried using the LessBundle() instead but that doesn't appear to compile LESS files into CSS but bundle LESS files for the client instead.
  • v1.8 - Compiling TypeScript causes crashes 90% of the time
    7 Posts | Last post April 10, 2013
    • I'm running VS2012 Ultimate and I just updated to Web Essentials v1.8.  However, every time I compile TypeScript VS crashes.  Any help would be great!   Also is there a link to Web Essentials 2012 v1.7?
    • Forgot to add, this is the project that I'm attempting to compile: https://github.com/NTaylorMullen/Tron
    • After more playing around I found that it only crashes on "Compile TypeScript on Build".  I was able to add a before-build exec command to compile TS and have Web Essentials compile on save.  Still would be nice to do everything from Web Essentials though =]
    • There is a problem with *.d.ts files. When there are no *.d.js generated file (it is useless!) VS crashes. So remove *.d.js file and you have a problem. Why WE generates *.d.js files?
    • I am encountering similar problems. For instance, it crashes looking for jasmine.d.js file, but that file is never generated.
    • A fix is available here: http://madskristensen.net/custom/webessentials2012.vsix
    • I am still getting a crash 100% of the time when saving (ctrl+S) a TypeScript file.  I installed the latest vsix.
  • 2.6 LESS Compiler Not Working
    1 Posts | Last post April 10, 2013
    • I'm using Visual Studio 2012 Update 2 with ASP.NET and Web Tools 2012.2 installed.  The output Web Essentials 2012 2.6 indicates that it compiles a less file when I save it but the preview window grays out and the the actual CSS file is empty.  The last version that I can get to work is 2.5.1.  others on my team are experiencing this.  Anyone else?
  • New Error in Version 2.4
    19 Posts | Last post April 09, 2013
    • I started getting the following error after upgrading to version 2.4:
      
      1/22/2013 5:12:27 PM: Updating bundles...
      1/22/2013 5:12:27 PM: Object reference not set to an instance of an object.
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
      1/22/2013 5:12:27 PM: Object reference not set to an instance of an object.
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
      1/22/2013 5:12:27 PM: Object reference not set to an instance of an object.
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
      1/22/2013 5:12:27 PM: Object reference not set to an instance of an object.
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
      1/22/2013 5:12:27 PM: Object reference not set to an instance of an object.
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
      1/22/2013 5:12:27 PM: Object reference not set to an instance of an object.
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
      1/22/2013 5:12:27 PM: Object reference not set to an instance of an object.
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
      1/22/2013 5:12:27 PM: Bundles updated
      
      Any Ideas?
      
      Thanks,
      -Dave
    • The other problem related to this is that in the output window it always switches to the "Web Essentials" filter and so if you use the output windows to look for build errors then it's always hidden. It'd be nicer to have the web essentials output not display by default or always switch to its output.
    • DFBaskin, other people are reporting the same thing. I'm looking for a way to reproduce it. Can you tell me about the project you have open in VS - is it a Web Application Project or a Website project? Do you have multiple projects in the same solution?
      
      Brock Allen, this is fixed in the latest nightly build 2.4.1 that can be downloaded here: http://vswebdessentials.com/download
    • The solution contains two web projects (not web sites) and 22 projects overall.  Also, all of the projects are organized under solution folders -- none are at the solution root.  It also contains other solution folders that contain solution files, not projects.
      
      Thanks,
      -Dave
    • This should be fixed in the latest nightly build 2.4.21. Try it out here http://vswebessentials.com/download
    • The nightly build did the trick for me.  Thank you.
    • This was so bad that I now released version 2.4.5 with the fix. Thanks for helping me repro the issue, guys!
    • After upgrading to 2.4.5, I'm seeing this output (VS 2012):
      1/25/2013 12:58:06 PM: Updating bundles...
      1/25/2013 12:58:06 PM: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
         at EnvDTE.Properties.Item(Object index)
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
         at EnvDTE.Properties.Item(Object index)
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
      1/25/2013 12:58:06 PM: Bundles updated
      
    • I'm seeing the same as bdukes, I still have errors with 2.4.5 (I've tried 2.4.1 & 2.4.21 as well).
      
      Note: My solution files do not reside in the root folder of the project, it is in a subfolder of the root folder. It might be useful to expand the exception messages with more info?
    • Thx for the fix, Mads. Many thanks!
    • bdukes, what project type are you using. MVC, WebForms, TypeScript or something else? Also, are you using Website project or Web Application Project?
    • @Mads -- got the latest and looks like it's somewhat fixed. If you open the project and build it seems to set WE as the "Show output from". I change it to "Build" and then it's fine.... until I close VS and open the project again. Then it's back to WE. Anything you can do to prevent WE from "trumping" the output window?
    • Upgraded to latest (v2.4.5), still get the error:
      
      1/30/2013 7:51:52 AM: Updating bundles...
      1/30/2013 7:51:52 AM: Object reference not set to an instance of an object.
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
      1/30/2013 7:51:52 AM: Object reference not set to an instance of an object.
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
      1/30/2013 7:51:52 AM: Object reference not set to an instance of an object.
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
      1/30/2013 7:51:52 AM: Object reference not set to an instance of an object.
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
      1/30/2013 7:51:52 AM: Object reference not set to an instance of an object.
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
      1/30/2013 7:51:52 AM: Object reference not set to an instance of an object.
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
      1/30/2013 7:51:52 AM: Object reference not set to an instance of an object.
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
      1/30/2013 7:51:52 AM: Bundles updated
      
      Thanks,
      -Dave
    • After upgrading to 2.4.5 bundles stopped working without error message. I've upgraded to 2.4.5.1 nightly, but still nothing.
      This happens in a simple solution with only one TS project, so that should be easy to reproduce.
      6 TS files that compile on save and build. Bundle configured to take the 6 JS files, combine and minify.
      Same setup was working without issues with prior version.
      
      Thanks,
      
      Rainer
    • Got some additional, similar errors, too, if they are helpful:
      
      2/11/2013 2:07:33 PM: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
         at EnvDTE.Properties.Item(Object index)
         at MadsKristensen.EditorExtensions.TypeScriptMargin.CompileProjectFiles(Project project)
         at EnvDTE.Properties.Item(Object index)
         at MadsKristensen.EditorExtensions.TypeScriptMargin.CompileProjectFiles(Project project)
      
      Thanks,
      -Dave
    • Still getting this in 2.5.1 and VS 2012
      
      Object reference not set to an instance of an object.
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
      
      
    • i'm getting the same error :
      Paramètre incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
         at EnvDTE.Properties.Item(Object index)
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
         at EnvDTE.Properties.Item(Object index)
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
      
      it occurs only when i enable the "compile on build" option for typescript.
      
      Thanks,
      Quentin
    • I'm also still getting the NullRef exception everytime I rebuild the solution with v2.6 and VS2012 (11.0.51106.01 Update 1). The project type is {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} (C# Console app ?) and i'm only using .less files.
      
      3/26/2013 11:13:09 AM: Object reference not set to an instance of an object.
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
      
    • Getting this on 2.6, the whole plugin is non-functional :(
      
      09/04/2013 14:57:32: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
         at EnvDTE.Properties.Item(Object index)
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
         at EnvDTE.Properties.Item(Object index)
         at MadsKristensen.EditorExtensions.ProjectHelpers.GetRootFolder()
71 - 80 of 308 Items