dotfiles-windows icon indicating copy to clipboard operation
dotfiles-windows copied to clipboard

`node-gyp`: The task factory "CodeTaskFactory" could not be loaded

Open jayharris opened this issue 9 years ago • 2 comments

When installing some node packages that use node-gyp, such as node-inspector, a CodeTaskFactory error is thrown by MSBuild.

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\CodeAnalysis\Microsoft.CodeAnalysis.targets(219,5): error MSB4175: The task factory "CodeTaskFactory" could not be loaded from the assembly "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Build.Tasks.v12.0.dll". Could not load file or assembly 'file:///C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Build.Tasks.v12.0.dll' or one of its dependencies. The system cannot find the file specified.

This only occurs when the main Visual Studio is 2015, and not under 2013.

jayharris avatar Feb 29 '16 05:02 jayharris

Comment on 29f288c was to wrong issue.

jayharris avatar Feb 29 '16 19:02 jayharris

Does this issue be fixed yet? I have no idea to deal with that///

markbooch avatar Nov 02 '17 07:11 markbooch