msbuild JsExt.sln /t:Build /p:Configuration=Debug /p:OutDir=..\\..\\Binaries
MSBuild
Adding /property:VsSDKInstall="C:\\Program Files (x86)\\MSBuild\\Microsoft\\VisualStudio\\v10.0\\VSSDK"
leads to this exception... The "VSCTCompiler" task failed unexpectedly. C:\\Program Files (x86)\\MSBuild\\Microsoft\\VisualStudio\\v10.0\\VSSDK\\Microsoft.VsSDK.Common.targets(74,5): error MSB4018: System.ArgumentNullException: Value cannot be null.
Microsoft.VsSDK.Common.targets
does exist. x86
console and PowerShell window and vcvarsall.bat (x86)
are loaded tmp_proj
is about. Any CPU
MSBuild
command. /v:diag
doesn't offer much more information on the errors. Any ideas, what am I missing, what's next to debug?
Is the VSSDKInstall env variable set / showing up in your console?
VSSDK100Install=C:\Program Files (x86)\Microsoft Visual Studio 2010 SDK SP1\
If so, then add "/v:diag" to your cmd line to see what that turns up.
Take a look at the following blog post - step #3 sounds like your original issue, and step #4 explains the subsequent VSCTCompiler issue that you just encountered.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.