Reputation: 279
Is there any way to make TFS2017 to use MSBuild 16? Some of my projects which getting updated to the latest NuGet packages can't compile in an older release of MSBuild due to the Fody package. I've installed the VS2019 build tools including MSBuild 16 on the server but the server is still not able to use this version. Even the build agent on the server directly still uses the older MSBuild version.
After a bit of searching, I read in a lot of threads about modifing the build process template but where can I find this?
Upvotes: 0
Views: 1828
Reputation: 76928
Making TFS2017 to use MSBuild 16
Just like you said, to use MSBuild 16 with Azure DevOps Server 2017, update the Azure DevOps Server 2017 to 2019 is the cleanest way.
Besides, If you have any concerns about upgrading Azure Devops Server, you can try the following method before you start.
Using MSBuild task instead of Visual Studio build and configure MSBuild to point to my MSBuild 16.0 folder:
Then add the local path of MSBuild 16.0.
Hope this helps.
Upvotes: 2