This has been happen for a while, but happens more with TS0.9.5 (we haven't upgraded to 1.0 yet). I am not sure why by it appears WebEssentails is still trying to process TypeScript files?
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.IOException
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 System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at ... more
If I enable JSHint and set the indent option to 2 (or any other number), I don't get any JSHint errors. Other options seem to work fine.
If I enable the option by adding the following to the .js file: /*jshint indent:2 */, then it works, but this is not the solution we want as options should be set in one place, not each JS file. Is there a way to get this indent option working without having to set it in each JS file?
Also it reports errors for switch case indentation, which I believe have been fixed in a newer version of JSHint (2.2.0). Are there any plans to update the version of JSHint used by Web Essentials 2012?
Finally Web Essentials 2013 was updated to use the .jshintrc options file, are there any plans of including this in 2012?
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)