How to repoint TeamCity to a different MsBuildCan't build in visual studio 2015 because 'Microsoft.Build.Tasks.v14.0.dll' cannot be foundForce MSBuild 14.0 in psake build for C# 6.0 code baseHow can I install the VS2017 version of msbuild on a build server without installing the IDE?How does Teamcity builds the folder path for the tools it uses?BuildMaster using MSBuild 15.0MSBuild 15 missing after installationMSBuild 15 Tools Version not acceptedHow to implement a solution-wide build configuration in a central location with Visual Studio 2015 (MSBuild 14.0)MSBuild Not Working TeamCity But Works From CommandLine
Potential new partner angry about first collaboration - how to answer email to close up this encounter in a graceful manner
Why didn’t Doctor Strange stay in the original winning timeline?
What does it mean to have a subnet mask /32?
How do I make distance between concentric circles equal?
LeetCode: Pascal's Triangle C#
If the first law of thermodynamics ensures conservation of energy, why does it allow systems to lose energy?
When translating the law, who ensures that the wording does not change the meaning of the law?
Is it insecure to have an ansible user with passwordless sudo?
Exctract year, month, day from datetime2
Can pay be witheld for hours cleaning up after closing time?
IndexOptimize - Configuration
How does turbine efficiency compare with internal combustion engines if all the turbine power is converted to mechanical energy?
Why did MS-DOS applications built using Turbo Pascal fail to start with a division by zero error on faster systems?
Three Singles in Three Clubs
How would one country purchase another?
On the feasibility of space battleships
Avoiding racist tropes in fantasy
Why aren't RCS openings an issue for spacecraft heat shields?
Vacuum collapse -- why do strong metals implode but glass doesn't?
Is there such a thing as too inconvenient?
Do ability scores have any effect on casting Wish spell
Is "stainless" a bulk or a surface property of stainless steel?
map 5 unequal ranges to id
In an emergency, how do I find and share my position?
How to repoint TeamCity to a different MsBuild
Can't build in visual studio 2015 because 'Microsoft.Build.Tasks.v14.0.dll' cannot be foundForce MSBuild 14.0 in psake build for C# 6.0 code baseHow can I install the VS2017 version of msbuild on a build server without installing the IDE?How does Teamcity builds the folder path for the tools it uses?BuildMaster using MSBuild 15.0MSBuild 15 missing after installationMSBuild 15 Tools Version not acceptedHow to implement a solution-wide build configuration in a central location with Visual Studio 2015 (MSBuild 14.0)MSBuild Not Working TeamCity But Works From CommandLine
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am unfortunately stuck on TeamCity 9 but want to use C# 7 language features. This requires me to have the VS2017 tools available, but in TC 9 you can only select up to 2015. I have manually installed the VS2017 toolkit on the build server and it is all available in
C:Program Files (x86)MSBuild15.0
However in TC, the highest VS you can select to build with is 2015, which points to
C:Program Files (x86)MSBuild14.0
I want some way to override this so that by selecting VS2015 in TeamCity, it will actually be pointing to MsBuild in
C:Program Files (x86)MSBuild15.0
Is this possible?
msbuild teamcity devops teamcity-9.0
add a comment |
I am unfortunately stuck on TeamCity 9 but want to use C# 7 language features. This requires me to have the VS2017 tools available, but in TC 9 you can only select up to 2015. I have manually installed the VS2017 toolkit on the build server and it is all available in
C:Program Files (x86)MSBuild15.0
However in TC, the highest VS you can select to build with is 2015, which points to
C:Program Files (x86)MSBuild14.0
I want some way to override this so that by selecting VS2015 in TeamCity, it will actually be pointing to MsBuild in
C:Program Files (x86)MSBuild15.0
Is this possible?
msbuild teamcity devops teamcity-9.0
add a comment |
I am unfortunately stuck on TeamCity 9 but want to use C# 7 language features. This requires me to have the VS2017 tools available, but in TC 9 you can only select up to 2015. I have manually installed the VS2017 toolkit on the build server and it is all available in
C:Program Files (x86)MSBuild15.0
However in TC, the highest VS you can select to build with is 2015, which points to
C:Program Files (x86)MSBuild14.0
I want some way to override this so that by selecting VS2015 in TeamCity, it will actually be pointing to MsBuild in
C:Program Files (x86)MSBuild15.0
Is this possible?
msbuild teamcity devops teamcity-9.0
I am unfortunately stuck on TeamCity 9 but want to use C# 7 language features. This requires me to have the VS2017 tools available, but in TC 9 you can only select up to 2015. I have manually installed the VS2017 toolkit on the build server and it is all available in
C:Program Files (x86)MSBuild15.0
However in TC, the highest VS you can select to build with is 2015, which points to
C:Program Files (x86)MSBuild14.0
I want some way to override this so that by selecting VS2015 in TeamCity, it will actually be pointing to MsBuild in
C:Program Files (x86)MSBuild15.0
Is this possible?
msbuild teamcity devops teamcity-9.0
msbuild teamcity devops teamcity-9.0
asked Mar 27 at 15:42
NZJamesNZJames
2,1548 gold badges30 silver badges63 bronze badges
2,1548 gold badges30 silver badges63 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Check you agent properties in TeamCity web interface. Search for your path: C:Program Files (x86)MSBuild14.0
and write somewhere all keys that have this path in it.
Then go to your agent installation directory and edit file: C:PathToBuildAgentconfbuildAgent.properties
Add all those keys with new path, something like (assuming you key is MSBuildTools14.0_x86_Path
):
MSBuildTools14.0_x86_Path=C:\Program Files (x86)\MSBuild\15.0
(keep in mind escaping slash \)
Restart your agent, and check again build agent properties. All paths should be replaced and you should be good to go.
This answer is based on comments from this issue: https://youtrack.jetbrains.com/issue/TW-54222
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
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%2f55381229%2fhow-to-repoint-teamcity-to-a-different-msbuild%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Check you agent properties in TeamCity web interface. Search for your path: C:Program Files (x86)MSBuild14.0
and write somewhere all keys that have this path in it.
Then go to your agent installation directory and edit file: C:PathToBuildAgentconfbuildAgent.properties
Add all those keys with new path, something like (assuming you key is MSBuildTools14.0_x86_Path
):
MSBuildTools14.0_x86_Path=C:\Program Files (x86)\MSBuild\15.0
(keep in mind escaping slash \)
Restart your agent, and check again build agent properties. All paths should be replaced and you should be good to go.
This answer is based on comments from this issue: https://youtrack.jetbrains.com/issue/TW-54222
add a comment |
Check you agent properties in TeamCity web interface. Search for your path: C:Program Files (x86)MSBuild14.0
and write somewhere all keys that have this path in it.
Then go to your agent installation directory and edit file: C:PathToBuildAgentconfbuildAgent.properties
Add all those keys with new path, something like (assuming you key is MSBuildTools14.0_x86_Path
):
MSBuildTools14.0_x86_Path=C:\Program Files (x86)\MSBuild\15.0
(keep in mind escaping slash \)
Restart your agent, and check again build agent properties. All paths should be replaced and you should be good to go.
This answer is based on comments from this issue: https://youtrack.jetbrains.com/issue/TW-54222
add a comment |
Check you agent properties in TeamCity web interface. Search for your path: C:Program Files (x86)MSBuild14.0
and write somewhere all keys that have this path in it.
Then go to your agent installation directory and edit file: C:PathToBuildAgentconfbuildAgent.properties
Add all those keys with new path, something like (assuming you key is MSBuildTools14.0_x86_Path
):
MSBuildTools14.0_x86_Path=C:\Program Files (x86)\MSBuild\15.0
(keep in mind escaping slash \)
Restart your agent, and check again build agent properties. All paths should be replaced and you should be good to go.
This answer is based on comments from this issue: https://youtrack.jetbrains.com/issue/TW-54222
Check you agent properties in TeamCity web interface. Search for your path: C:Program Files (x86)MSBuild14.0
and write somewhere all keys that have this path in it.
Then go to your agent installation directory and edit file: C:PathToBuildAgentconfbuildAgent.properties
Add all those keys with new path, something like (assuming you key is MSBuildTools14.0_x86_Path
):
MSBuildTools14.0_x86_Path=C:\Program Files (x86)\MSBuild\15.0
(keep in mind escaping slash \)
Restart your agent, and check again build agent properties. All paths should be replaced and you should be good to go.
This answer is based on comments from this issue: https://youtrack.jetbrains.com/issue/TW-54222
answered Mar 28 at 14:05
PeskaPeska
1,6676 silver badges20 bronze badges
1,6676 silver badges20 bronze badges
add a comment |
add a comment |
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
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.
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%2f55381229%2fhow-to-repoint-teamcity-to-a-different-msbuild%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