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.
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
Is there a way to make a squiggly line go away without changing my code? I understand that there are more vendor prefixes I could use, but if my project is only supporting webkit, I would REALLY like to make that squiggly line go away. Please, please, PLEASE put an option to ignore or even an option to disable "alert for vendor prefixes" in the future.
I firmly believe that any squiggly line that comes up in anything should be able to be removed after user consideration. I know this is a great extension, but just like Microsoft Word doesn't always have better grammar than I do, this extension should take my input.
Thank you for the phenomenal extension and all your hard work!! :)
In version 2.2 you can select which browsers to support and the CSS editor will adjust accordingly with the correct validation and auto-generated vendor specifics. Just right-click in the CSS editor to open the browser selector
There seems to be an issue in the Zen Coding support with lists containing sibling elements. e.g. div>ul>li*5>span+div only adds the nested div to the first li, and not the other 4. Nesting the sibling elements in a container div doesn’t work either (div>ul>li*5>div>span+div).
When I select Build | Web Essentials | Update All Bundles I receive an error:
The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
I just updated to version 3.3.5 today. Prior to this, the bundles were not updating when a source file changed. They are still not updating and I receive the above error.
I receive the same issue, updating a file does not update the bundled files. This seems to get worse after install update 4 for VS2012. Also, selecting Update All Bundles generates the same error referenced by @jdubsmith
I am using VS 2012 and WE 2012 v3.3.5
I installed visual studio update 4 to see if that would fix it but no luck
I also tried VS 2013 with WE 2013 but it doesnt work there either
It's a great tool, however the current version (3.3.5 with VS2012 update 4 and typescript 0.9.1.1 ) does not created minified js automatically in typescript projects.
I have tried many previous versions of webessentials back to 2.9 and different ways of including the ts and js files into the project, either as DependentUpon liek this
<TypeScriptCompile Include="app.ts" />
or as included on the folder level.
<TypeScriptCompile Include="app.ts" />
<Content Include="app.js" />
When typescript compiles the ts to js, webessentials does not trigger the minification; when I then open the js file and save it manually at some point webesssentials might build the min.js version (eratic as far as I can see), but this will also add the new file to the project tree, from then on webessentials will not update the min.js again. Doing a project rebuild will not automatically minify.
I can reproduce this with the standard typescipt project template.
I just realized, that when manually saving the js file, webessentials will (!) create/update the minified version. But this does not happen when the typscript compiler updates the js file.
This makes it necessary to go manually through all your compiled js files and save them before publishing a release (bundled) project.
Also the js files are not by default included in the typescript project so one first has to include these js files to be able to create the minified versions.
I cannot get a LESS file to minify to .css (and .min.css) in Visual Studio 2013 Premium. I'm using Web Essentials 1.3.1. This was working fine in Visual Studio 2012? Is this a bug? (Note: When I right-click a less file, I see a "Minify CSS file(s)" option, but it's grayed out.)
Having saved ONE FILE (inside of .bundle) WebEssentials saves/updates all other bundles.
11/20/2013 4:23:46 PM: Updating bundle: 1.js
11/20/2013 4:23:47 PM: Updating bundle: 2.js
<here pops an error window about script not found, starting with "/">
11/20/2013 4:23:52 PM: Updating bundle: 1.css
11/20/2013 4:24:16 PM: Updating bundle: 1.js
11/20/2013 4:24:20 PM: Updating bundle: 1.css
If one have over 9000 bundles it will crash everything. Is there a setting to update only *currently* saved bundle-file?
Could be "/" at the beginning of the path related (version 1.3.1 16.11.2013)
It seems as if the version of the coffee compiler included with Essentials is not current. I notice this because up until now we've been using node.js to compile our files. The compiled output of WE seems to include more "safe" local variables and extra spaces you saw from previous coffee versions.
We'd really like to start using WE for compilation but we have a number of users who will still be using node.js on their Macs to compile files. We don't want to have them constantly switching back and forth. Would it be possible to update the version of the included coffee compiler? Better yet, would it be possible to make the compile command an option? This would allow us to specify compilation with node and worry about the coffee version on our own.
It works for me with VS2012 Ultimate with update 3 and v3.0 of web essentials. Initially, it looked like VS wasn't even recognizing the .less file, however, on closing and reopening the file, I got the split view and the generation of the .css and .min.css files also started working.
I just confirmed WHY this is not working. This is also broken with Web Essentials 2013. Our LESS files use the import to import general configuration styles, e.g.,
And then use them later, e.g.,
I commented out all the .mix... imported/pre-configured styles and the CSS file was then updated upon saving the LESS file. Once I re-enabled the .mix... styles, then it hosed again.
Please fix this ASAP as it's a huge hassle. Thanks a lot.
Okay, found more info on this and it looks like it's NOT a WE 2012 or 2013 bug but a change in LESS starting with 1.4.0. Here's the blurb from the 1.4.0 release notes found at http://lesscss.org/#changes
@import-once is removed and is now default behaviour for @import.
The following is showing up in the Output, after the final results line (i.e. "========== Rebuild All: 2 succeeded, 0 failed, 0 skipped ==========") when building (Rebuild or Build):
10/21/2013 03:52:37 PM: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
at EnvDTE.Properties.Item(Object index)
at EnvDTE.Properties.Item(Object index)
When I turn on Compile on Build my new install of vs2012 and fresh install of Web Essentials crashes my dev environment. I tried reinstalling Web Essentials.
Here's the error in my app log if that helps
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
at System.IO.__Error.WinIOError(Int32, System.String)
at System.IO.FileStream.Init(System.String, System.IO.FileMode, System.IO.FileAccess, Int32, Boolean, System.IO.FileShare, Int32, System.IO.FileOptions, SECURITY_ATTRIBUTES, System.String, Boolean, Boolean, Boolean)
at System.IO.FileStream..ctor(System.String, System.IO.FileMode, System.IO.FileAccess, System.IO.FileShare, Int32, System.IO.FileOptions, System.String, Boolean, Boolean, Boolean)
at System.IO.StreamReader..ctor(System.String, System.Text.Encoding, Boolean, Int32, Boolean)
at System.IO.File.InternalReadAllText(System.String, System.Text.Encoding, Boolean)
at MadsKristensen.EditorExtensions.LessProjectCompiler.MinifyFile(System.String, System.String)
at MadsKristensen.EditorExtensions.LessCompiler.ProcessExited(System.Object, System.EventArgs)
at System.Diagnostics.Process.CompletionCallback(System.Object, Boolean)
at System.Threading._ThreadPoolWaitOrTimerCallback.WaitOrTimerCallback_Context(System.Object, Boolean)