Build cant find platform toolset v141
up vote
0
down vote
favorite
I'm trying to get a C++ solution converted from VS2013 to VS2017 to build on a build server using TFS 2010 but the build cant find the platform toolset.
I keep getting the error message:
error MSB8008: Specified platform toolset (v141) is not installed or invalid.
I've installed VS2017 (not just the Build Tools) on the build server and checked that the platform toolset v141 is installed.
I've update the .proj file to use ToolsVersion 15.0 and the project files in the solution are all updated to use ToolsVersion 15.0.
I've also added /p:VisualStudioVersion=15.0 to the MSBuild arguments in the build definition.
Can someone give me a hint of what else to check? I'm running out of ideas.
I did see that the error message contains this:
C:Program Files (x86)MSBuildMicrosoft.Cppv4.0PlatformsWin32Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v141) is not installed or invalid.
The path contains v4.0, shouldn't it be v15.0? Is there a reference to something that is incorrect?
However, this doesn't seem to be a problem in another project that is built in VS2015 so I'm not sure this is a problem.
I hope someone can help me.
Regards
Mattias
msbuild visual-studio-2017
add a comment |
up vote
0
down vote
favorite
I'm trying to get a C++ solution converted from VS2013 to VS2017 to build on a build server using TFS 2010 but the build cant find the platform toolset.
I keep getting the error message:
error MSB8008: Specified platform toolset (v141) is not installed or invalid.
I've installed VS2017 (not just the Build Tools) on the build server and checked that the platform toolset v141 is installed.
I've update the .proj file to use ToolsVersion 15.0 and the project files in the solution are all updated to use ToolsVersion 15.0.
I've also added /p:VisualStudioVersion=15.0 to the MSBuild arguments in the build definition.
Can someone give me a hint of what else to check? I'm running out of ideas.
I did see that the error message contains this:
C:Program Files (x86)MSBuildMicrosoft.Cppv4.0PlatformsWin32Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v141) is not installed or invalid.
The path contains v4.0, shouldn't it be v15.0? Is there a reference to something that is incorrect?
However, this doesn't seem to be a problem in another project that is built in VS2015 so I'm not sure this is a problem.
I hope someone can help me.
Regards
Mattias
msbuild visual-studio-2017
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm trying to get a C++ solution converted from VS2013 to VS2017 to build on a build server using TFS 2010 but the build cant find the platform toolset.
I keep getting the error message:
error MSB8008: Specified platform toolset (v141) is not installed or invalid.
I've installed VS2017 (not just the Build Tools) on the build server and checked that the platform toolset v141 is installed.
I've update the .proj file to use ToolsVersion 15.0 and the project files in the solution are all updated to use ToolsVersion 15.0.
I've also added /p:VisualStudioVersion=15.0 to the MSBuild arguments in the build definition.
Can someone give me a hint of what else to check? I'm running out of ideas.
I did see that the error message contains this:
C:Program Files (x86)MSBuildMicrosoft.Cppv4.0PlatformsWin32Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v141) is not installed or invalid.
The path contains v4.0, shouldn't it be v15.0? Is there a reference to something that is incorrect?
However, this doesn't seem to be a problem in another project that is built in VS2015 so I'm not sure this is a problem.
I hope someone can help me.
Regards
Mattias
msbuild visual-studio-2017
I'm trying to get a C++ solution converted from VS2013 to VS2017 to build on a build server using TFS 2010 but the build cant find the platform toolset.
I keep getting the error message:
error MSB8008: Specified platform toolset (v141) is not installed or invalid.
I've installed VS2017 (not just the Build Tools) on the build server and checked that the platform toolset v141 is installed.
I've update the .proj file to use ToolsVersion 15.0 and the project files in the solution are all updated to use ToolsVersion 15.0.
I've also added /p:VisualStudioVersion=15.0 to the MSBuild arguments in the build definition.
Can someone give me a hint of what else to check? I'm running out of ideas.
I did see that the error message contains this:
C:Program Files (x86)MSBuildMicrosoft.Cppv4.0PlatformsWin32Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v141) is not installed or invalid.
The path contains v4.0, shouldn't it be v15.0? Is there a reference to something that is incorrect?
However, this doesn't seem to be a problem in another project that is built in VS2015 so I'm not sure this is a problem.
I hope someone can help me.
Regards
Mattias
msbuild visual-studio-2017
msbuild visual-studio-2017
asked Nov 22 at 14:36
Ernis
135
135
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
Build cant find platform toolset v141
As far as I know, you may had to amended the build templates to point to MSBuild version 15.0. There are two parameters including ToolPath
and Toolversion
to set, edit template change msbuild activity ToolPath to "C:Program Files (x86)Microsoft Visual Studio2017EnterpriseMSBuild15.0BinMSBuild.exe
".
For some more details, you can check the thread BuildActivity ignores ToolsVersion for more details.
Hope this helps.
Adding ToolPath to the build process template and overriding the property MSBuildExtensionsPath in the project file solved the issue.
– Ernis
Nov 27 at 12:26
@Ernis, Since above answer resolved your question, you could Accept it as an Answer. This can be beneficial to other community members reading this thread and we could close this thread, thanks.
– Leo Liu-MSFT
Nov 27 at 13:51
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
Build cant find platform toolset v141
As far as I know, you may had to amended the build templates to point to MSBuild version 15.0. There are two parameters including ToolPath
and Toolversion
to set, edit template change msbuild activity ToolPath to "C:Program Files (x86)Microsoft Visual Studio2017EnterpriseMSBuild15.0BinMSBuild.exe
".
For some more details, you can check the thread BuildActivity ignores ToolsVersion for more details.
Hope this helps.
Adding ToolPath to the build process template and overriding the property MSBuildExtensionsPath in the project file solved the issue.
– Ernis
Nov 27 at 12:26
@Ernis, Since above answer resolved your question, you could Accept it as an Answer. This can be beneficial to other community members reading this thread and we could close this thread, thanks.
– Leo Liu-MSFT
Nov 27 at 13:51
add a comment |
up vote
0
down vote
accepted
Build cant find platform toolset v141
As far as I know, you may had to amended the build templates to point to MSBuild version 15.0. There are two parameters including ToolPath
and Toolversion
to set, edit template change msbuild activity ToolPath to "C:Program Files (x86)Microsoft Visual Studio2017EnterpriseMSBuild15.0BinMSBuild.exe
".
For some more details, you can check the thread BuildActivity ignores ToolsVersion for more details.
Hope this helps.
Adding ToolPath to the build process template and overriding the property MSBuildExtensionsPath in the project file solved the issue.
– Ernis
Nov 27 at 12:26
@Ernis, Since above answer resolved your question, you could Accept it as an Answer. This can be beneficial to other community members reading this thread and we could close this thread, thanks.
– Leo Liu-MSFT
Nov 27 at 13:51
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
Build cant find platform toolset v141
As far as I know, you may had to amended the build templates to point to MSBuild version 15.0. There are two parameters including ToolPath
and Toolversion
to set, edit template change msbuild activity ToolPath to "C:Program Files (x86)Microsoft Visual Studio2017EnterpriseMSBuild15.0BinMSBuild.exe
".
For some more details, you can check the thread BuildActivity ignores ToolsVersion for more details.
Hope this helps.
Build cant find platform toolset v141
As far as I know, you may had to amended the build templates to point to MSBuild version 15.0. There are two parameters including ToolPath
and Toolversion
to set, edit template change msbuild activity ToolPath to "C:Program Files (x86)Microsoft Visual Studio2017EnterpriseMSBuild15.0BinMSBuild.exe
".
For some more details, you can check the thread BuildActivity ignores ToolsVersion for more details.
Hope this helps.
answered Nov 23 at 7:47
Leo Liu-MSFT
17.2k21832
17.2k21832
Adding ToolPath to the build process template and overriding the property MSBuildExtensionsPath in the project file solved the issue.
– Ernis
Nov 27 at 12:26
@Ernis, Since above answer resolved your question, you could Accept it as an Answer. This can be beneficial to other community members reading this thread and we could close this thread, thanks.
– Leo Liu-MSFT
Nov 27 at 13:51
add a comment |
Adding ToolPath to the build process template and overriding the property MSBuildExtensionsPath in the project file solved the issue.
– Ernis
Nov 27 at 12:26
@Ernis, Since above answer resolved your question, you could Accept it as an Answer. This can be beneficial to other community members reading this thread and we could close this thread, thanks.
– Leo Liu-MSFT
Nov 27 at 13:51
Adding ToolPath to the build process template and overriding the property MSBuildExtensionsPath in the project file solved the issue.
– Ernis
Nov 27 at 12:26
Adding ToolPath to the build process template and overriding the property MSBuildExtensionsPath in the project file solved the issue.
– Ernis
Nov 27 at 12:26
@Ernis, Since above answer resolved your question, you could Accept it as an Answer. This can be beneficial to other community members reading this thread and we could close this thread, thanks.
– Leo Liu-MSFT
Nov 27 at 13:51
@Ernis, Since above answer resolved your question, you could Accept it as an Answer. This can be beneficial to other community members reading this thread and we could close this thread, thanks.
– Leo Liu-MSFT
Nov 27 at 13:51
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53433243%2fbuild-cant-find-platform-toolset-v141%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown