Skip to content

released 2.1.300 sdk prints it is a preview message #599

@tmds

Description

@tmds

When running sdk commands (e.g. dotnet build/dotnet publish) on rhel released 2.1.300 sdk, it prints out a message:

You are working with a preview version of the .NET Core SDK. You
can define the SDK version via a global.json file in the current
project. More at https://go.microsoft.com/fwlink/?linkid=869452

This is due to:

./sdk/2.1.300/Microsoft.NETCoreSdk.BundledVersions.props:    <_NETCoreSdkIsPreview>true</_NETCoreSdkIsPreview>

In our repos/cli.proj we have:

<EnvironmentVariables Include="DropSuffix=true" />

and in src/cli/build/MSBuildExtensions.targets we have:

<_NETCoreSdkIsPreview Condition=" '$(DropSuffix)' != 'true' ">true</_NETCoreSdkIsPreview>

So it's not clear for me where things go wrong.

CC @omajid @dleeapho

Metadata

Metadata

Labels

area-product-experienceImprovements in the end-user's product experience

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions