Warm tip: This article is reproduced from stackoverflow.com, please click
.net-core c# msbuild teamcity teamcity-10

What version of .NET Core can I develop in using MSBuild tools ver. 15.6?

发布于 2020-03-29 21:01:13

I am limited in terms of the version of build tools available to Teamcity (MSBuild 15.6.82.30579) though local development in VS 2017 is at to 15.9.

What version of .NET Core can we safely develop in given MSBuild 15.6 on our deployment agent? I've been looking through:

https://dotnet.microsoft.com/download/dotnet-core/2.2

https://dotnet.microsoft.com/download/dotnet-core/2.1

https://dotnet.microsoft.com/download/dotnet-core/2.0

It looks like we may be limited to .NET Core 2.0 - is this accurate?

Questioner
MissCellaneous
Viewed
94
MissCellaneous 2020-02-26 17:49

It appears that the answer is indeed 2.0, based on comments and the docs I linked earlier.

However, I have been able to upgrade to MSBuild tools 15.9 for now, enabling .net core 2.2 or 2.1 development.

Note: We are developing in 2.1, since it is on Long Term Support.