Web Essentials 2012

Free

Adds many useful features to Visual Studio for web developers.

(149) Review
Visual Studio
"12", 2012
Download (453,413)
5/5/2013
2.7
View
E-mail Twitter del.icio.us Digg Facebook
Add To Favorites
Description
Reviews (149)
Q and A (252)
Sign in to Write a Review
Sort By:

by grundt | January 16 2013

by cyoung4213 | January 15 2013

Helped me a ton with a lot of things. I am looking forward to how far this can help my day to day tasks with CSS to be more streamline and simplified coding. In the past CSS has been daunting, web essentials is helping things be more fluid in my process.

by Matt Lavallee | January 12 2013

by AlanCai | January 11 2013

The less files save as UTF-8 with BOM will got "LESS: Syntax Error on line 1" error.
The less files save as UTF-8 without BOM is OK.

Mads Kristensen January 11 2013
| Edit |
Delete

You can save any .LESS file without the BOM by doing File -> Save foo.less As... -> Save with Encoding...

by johnlouros | January 11 2013

Awesome extension for Web Developers. Finally Visual Studio have something to pair up with the competition regarding Web Development.

A must have!

by Bahtiyar Özdere | January 11 2013

Firstly thanks for great extension.

In last upadate (v 2.3) I had an issue on less file compiling.
When I use this @import url('../../../../../Content/dizayn/css/i.less');
in my less file it gives an error that it cannot find the file. In earlier version (2.0) it compiles successfully. So I have installed 2.0 back again.

best regards

by Cruentus | January 11 2013

Great tool!
Finally good support to Zen Conding in Visual Studio. Though it would be nice to update it to use the lastest version, which was renamed to Emmet: http://emmet.io

Thanks!

by PB-Dev | January 09 2013

Absolutley fantastic!

by Mark Broadhurst | January 02 2013

Excellent tool set which keeps getting better and better.

by patryk.golus | December 30 2012

by AndreyVeselov | December 27 2012

Great tool. Waiting for full Sass support :)

by Peter87 | December 25 2012

When this extension isn't installed I'm constantly wondering, 'Now isn't it supposed to do...'
JavaScript regions are fantastic.

by mangran | December 24 2012

这货更新太频繁了.

Mads Kristensen December 24 2012
| Edit |
Delete

您不必安装每个更新。就拿那些有你喜欢的功能

You don't have to install every update. Just take the ones with features you like

by Ivan Stus | December 19 2012

Really great extension, but after the latest update I got the following error when trying to sort properties:

Could not load file or assembly 'Microsoft.Web.Languages, Version=1.1.0.0, Culture=neutral, PublicKeyToken=24771839d8d21066' or one of its dependencies. The system cannot find the file specified.

Mads Kristensen December 23 2012
| Edit |
Delete

This is fixed in version 2.2

by Tiscs | December 19 2012

A very usefull extension, like it very much.

by z1c0 | December 15 2012

by massive-geek | December 15 2012

I'm getting exactly the same issue as samuel.milton.

Using VS2012 and getting his same issue

I'm getting "Undeclared variable" and "Undeclared mixins" when I edit the Bootstrap LESS-files which results in "Compile error" in the preview window...

Can you help me pls?

EDIT:
Mixins and variables on another sheet should they be available from another within importing the sheet? e.g. if I have colors.less and then layout.less should it fetch the vars/mixins from colors.less without importing it?
I'm quite new to less but seeing other projects that's what they don't usually import and import only to combine

P.S. really great extension!

by samuel.milton | December 13 2012

I'm trying to get my site going with VS2012 and Twitter Bootstrap (LESS).

But i'm getting "Undeclared variable" and "Undeclared mixins" when I edit the Bootstrap LESS-files which results in "Compile error" in the preview window... Ideas?

Edit:
Screenshot: http://i.imgur.com/DfydD.png

Edit two: Thanks Mads for the reply. Clearly a five star addon!

by DanglingPointer | December 13 2012

Are you using latest version of Microsoft Ajax Minifier (http://ajaxmin.codeplex.com/) to minify the JavaScript? If you are then would it be updated automagically? And If not, then how would you compare these two?

Update: After running couple of tests, I have observed that the latest release of Microsoft Ajax Minifier (4.78, released 12/07/12) outperforms Web Essentials' JavaScript minification by 3.5%.

Mads Kristensen December 23 2012
| Edit |
Delete

Yes, 2.2 uses AjaxMin 4.78

by Saeid Pournejati | December 08 2012

41 - 60 of 149 Items   
Sign in to Start a Discussion


  • "Sources" in .map files pointed to incorrect directory
    1 Posts | Last Post Mon 9:21 PM
    • The sources property in the generated .map file seems to always include the relative path from the root of the server.  The problem is that our applications use virtual directories and therefore these references don't work when trying to debug from the browser.  It all seems unnecessary too since the bundling is happening at a folder level so you could always assume the reference is relative to the map file.  We are having to add a post build step to fix our references in the "sources" property after each time Web Essentials messes them up.
      
      Other than that, great job ;) 
  • Less Compile Error
    1 Posts | Last Post Sun 10:29 PM
    • Visual Studio 2012 Update 2
      
      Web Essentials 2.7
      
      Hello,
      Every time when I try to change or create any .less file, I got this message in css preview:
      
      /*
      
      Compile Error. 
      See error list for details
      
      
      */
      
      And when I open Error List, I can see this:
      
      LESS: 
      
      This thing same everytime, no description at all. It doesn't depend from code, even this code generate error:
      
      body {
      }
      
      What shell I do?
  • TS files are no more opened by Web Essentials
    2 Posts | Last Post Sat 7:13 AM
    • I've just noticed that in my sln tree the icons of .ts-files became 'media-playerish' (old-style 'film' icon with the 'play' sign on it), and the same time Web Essentials seems to know nothing of the .ts-files. Symptoms: 
      - ts-files are opened in VS by plain text editor; no intellisense, no generation on save; 
      - no generation on build if set;
      
      How to fix it? Reinstalling of WE didn't help. Nor did setting Windows file '.ts' association from Media Player to VS.
    • UPD: at the same time LESS is opened by WE Editor, everything works fine for less
  • @import file and image url
    1 Posts | Last Post June 04, 2013
    • Hello,
      
      In my project I have the following directories :
      
      css
         components
            component.less
         core.less
      
      component.less contains the following style :
      background: url(../images/triangle_v3_top.png) no-repeat; 
      
      The component.less file is imported in core.less :
      @import "components\component.less";
      
      In the core.css file generated I have this :
      background: url(composants\../images/triangle_v3_bottom.png) no-repeat;
      
      The backgroug url is wrong, it must be :
      background: url(../images/triangle_v3_bottom.png) no-repeat;
      
      When I use Prepros to build less file (http://alphapixels.com/prepros/) the url is correct.
  • CSS Bundle doesn't update
    2 Posts | Last Post May 28, 2013
    • I have a CSS bundle and no matter what I try, it won't update. When I make modifications to a .less file and save it, the corresponding .css file is updated. Then I try to build the website or I go the to Web Essentials menu under BUILD and select "update all bundles" but nothing happens.
    • I had a similar issue but with just the minified versions of the bundles. For me, if I removed one of the <file> entries from the .bundle file, saved, then added it again, the bundle would get updated properly. Hope it helps!
  • Web Essentials does not minify less
    1 Posts | Last Post May 27, 2013
    • When i save my less files they do not get minifyed even if I have set it to create .min.css
      
      Output says : 
      LESS: Compiling _styles.less
      _styles.less compiled
      
      But no min.css or css either. What can be wrong here?
  • less compile on build option not working
    1 Posts | Last Post May 24, 2013
    • I'm attempting to use the 'compile on build' option for less and it doesn't seem to be working.  (latest version, 2.7)  I change a dependent file, hit compile and the main less file that imports that file doesn't get rebuilt.  The only way I can get the main less file to regenerate the css is to go into it directly and hit save.  Am I doing something wrong?
  • @importing several files fails (thread bombs)
    2 Posts | Last Post May 20, 2013
    • I have a couple of .less files that do no more than facilitate the inclusion of smaller less files -- such as a responsive grid LESS file that sets up media queries and then imports each break, in a total of 6 @import calls (one for grid setup, one for design, for Desktop | Mobile | Tablet). 
      
      When I try to save these files I notice a cscript.exe thread getting up to about 2GB of RAM and then breaking. Is there anyway I can debug this extension to give a better understanding of where this breaks? I get an empty error that simply states 'LESS: '
    • I'm a dummy. The issue I was having was from not using @import-once. I believe @import-once is removed in the latest version of LESS so that's probably why I decided to remove them from my code.
  • @import of files outside current project fails with 404
    12 Posts | Last Post May 20, 2013
    • Hi!
      
      Just upgraded from 2.5.1 to 2.6, and all our cross-project imports stopped working. Like this:
      
      @import "../../../../Themes/MiP.Theme/Styles/mip-mixins.less";
      
      This worked before but now gives the following compiler error:
      LESS: Couldn't load themes/MiP.Theme/Styles/mip-mixins.less (404)
      
      Can you fix this please? :) Or tell us what we're doing wrong. Or provide some kind of workaround. We are not very keen on duplicating all our less files... :)
      
    • Has this been addressed, or is there a workaround?
    • Same problem here.
    • The interesting thing is that LESS is supposed to be handled by Web Tools now since 2.5. Reverting back to the 2.5.1 download from http://vswebessentials.com/changelog fixed my problem. I imagine both Web Tools and Web Essentials have some conflicting dependency for path resolution. 
    • Reverted to 2.5.1 also and all seems well... for now.  Just wish I knew if this is a bug in 2.6 or an intentional change.
    • I am seeing this issue in 2.6 inside of the same project - rolling back to 2.5.1 has not resolved the issue.  Think there may be a remnant lurking somewhere after the uninstall.
    • 3 cycles of uninstall and reinstall later - 2.5.1 now functioning as expected.
    • See this thread for the description of the issue and for a possible workaround: http://forums.asp.net/p/1900852/5371528.aspx/1?p=True&t=635022256782196589
    • Alternatively you can just downgrade the less compiler from v1.3.3 to v1.3.1 which fixes the issue. See here:
      
      http://stackoverflow.com/questions/15691713/less-compiler-and-relative-import-references-not-working-in-web-essentials-2012
    • The "Replace with original 1.3.0" workaround here http://forums.asp.net/p/1900852/5371528.aspx/1?ASP+NET+and+Web+Tools+2012+2+bug+in+resolving+imports+in+LESS+files+workaround+included worked for me.
      
      It looks like the problem is really with Web Tools. I imagine that Web Tools or Web Essentials or both fiddles with the scripts in that directory so reveting to 2.5 reverts the 1.3.3 script to 1.3.0
    • This bug remains in Web Essentials 2.7 as the LESS version is still 1.3.3 and has not been reverted (though the script file name is less-1.3.0.js).
    • Reverting to v1.3.0 in Web Essentials 2.7 doesn't work for me. Instead, it just keeps creating threads that go to compile the LESS but just consume memory.
  • JSDoc and IntelliSense
    2 Posts | Last Post May 19, 2013
    • Is there some magic setting to get JSDoc comments to be parsed for IntelliSense?  I can't seem to get this working in 1.7.  I have a simple test file with the following:
      
      /**
       * Does something.
       * 
       * @param {string} myParam
       */
      function doSomething(myParam) {
      
      }
      
      Inside the function, myParam seems to have no type information.  Outside, inline documentation just spits out the whole unformatted comment block for doSomething.  Anyone have any ideas how to get this to work?  Thanks!
    • I am having the exact same problem.  JSDOC does *NOT* work as described.  Am I missing something?  I am using the exact same format as dornif:
      
      /**
       * Does something.
       * 
       * @param {string} myParam
       */
      function doSomething(myParam) {
      
      }
      
      But when attempting to use 'doSomething', Intellisense just dumps out the entire comment block (/* ... */) above the function instead of providing the intellisense I expect for each parameter.
1 - 10 of 252 Items