James Woodley
James Woodley

Reputation: 511

Installing Dot Net Core 2.1 on build server

I am trying to install Dot Net Core SDK 2.1 on our build server (so no Visual Studio) and whenever I then run a build, all I get is

The current .NET SDK does not support targeting .NET Core 2.1. Either target .NET Core 2.0 or lower, or use a version of the .NET SDK that supports .NET Core 2.1.

I've installed from https://blogs.msdn.microsoft.com/dotnet/2018/05/07/announcing-net-core-2-1-rc-1/

If I do the same on my development machine, it works fine, this can only be down to Visual Studio I assume....

Upvotes: 1

Views: 1778

Answers (1)

James Woodley
James Woodley

Reputation: 511

The SDK was all installed correctly, but the MSBuildSDKsPath had not been updated to the newer version.

I would expect the installer to do that, seems that's an unreasonable expectation.

Upvotes: 2

Related Questions