Answered by:
VS 2017 and VCToolsInstallDir

Question
-
Hello,
I'm currently testing VS 2017 with our current Solutions which compiles with VS 2015 very well.
I installed parts of VS 2017 professional (WIN 8.1 SDk, no WIN 10 SDK, no VS 2015 Support).
When I open a 2015 solution I was asked to update the Projects to 8.1 SDK and Toolset v141 which I accepted.
But when I Try to build a C++ Project I get
Warning MSB8003 :Could not find VCToolsInstallDir variable from the registry
TargetFrameworkVersion or PlatformToolset may be set to an invalid version number.
I searched in the registry and indded VCToolsInstallDir can not be found.
Which part of VS 2017 is missing ?
TIA
Hendrik Schmieder
Monday, November 27, 2017 3:13 PM
Answers
-
I think,
I found it out.
VC++ 2017 v141 toolst (x86, x64) wasn't selected
- Marked as answer by h_schmieder Tuesday, November 28, 2017 9:28 AM
Monday, November 27, 2017 3:20 PM
All replies
-
I think,
I found it out.
VC++ 2017 v141 toolst (x86, x64) wasn't selected
- Marked as answer by h_schmieder Tuesday, November 28, 2017 9:28 AM
Monday, November 27, 2017 3:20 PM -
Hi h_schmieder,
thanks for posting here.
Since your case has been solved, please help to mark answer. If you have any other concerns, just feel free to contact us.
Your understanding and cooperation will be grateful.
Best Regards,
Baron Bi
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.Tuesday, November 28, 2017 1:32 AM -
I have "latest" of this and still have the same problem!
On 2020 server.
Visual Studio builds but msbuild reports this error
Thursday, February 13, 2020 3:23 PM -
Hello Tubinson,
so you make
call "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Professional\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64
before you run msbuid ?
regards
Hendrik Schmieder
Friday, February 14, 2020 10:15 AM