visual studio - MSBuild giving error related to VS 2010 when I have VS 2017 -
i'm trying build c++ project using msbuild. msbuild use visual studio 2017 community edition installed in machine. use cmake 3.8 generate visual studio project files, "visual studio 15 2017 win64" generator. build on command prompt using call below;
msbuild /p:platform=x64 all_build.vcxproj
this gives me error message:
error msb8020: build tools visual studio 2010 (platform toolset = 'v100') cannot found. build using v100 build tools, please install visual studio 2010 build tools. alternatively, may upgrade current visual studio tools selecting project menu or right-click solution, , selecting "retarget solution".
when remove "/p:platform=x64" switch error gone. other questions looks related 2010 version of visual studio. have visual studio 2017. i'm missing? "/p:platform=x64" switch applicable msbuild visual studio 2017? i'm on windows 10 x64.
Comments
Post a Comment