Description of problem: When performing sdk commands, our released version prints 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 Version-Release number of selected component (if applicable): 2.1.300 Steps to Reproduce: 1. dotnet new console -o consoletest 2. cd consoletest 3. dotnet build
Not sure if this bug was fixed upstream or not, but it doesn't reproduce any more: $ dotnet new console The template "Console Application" was created successfully. Processing post-creation actions... Running 'dotnet restore' on /home/omajid/HelloWorld/HelloWorld.csproj... Restoring packages for /home/omajid/HelloWorld/HelloWorld.csproj... Generating MSBuild file /home/omajid/HelloWorld/obj/HelloWorld.csproj.nuget.g.props. Generating MSBuild file /home/omajid/HelloWorld/obj/HelloWorld.csproj.nuget.g.targets. Restore completed in 154.67 ms for /home/omajid/HelloWorld/HelloWorld.csproj. Restore succeeded. [omajid@rhel7-server HelloWorld]$ dotnet run Hello World! [omajid@rhel7-server HelloWorld]$ dotnet publish Microsoft (R) Build Engine version 15.7.179.62826 for .NET Core Copyright (C) Microsoft Corporation. All rights reserved. Restore completed in 32.18 ms for /home/omajid/HelloWorld/HelloWorld.csproj. HelloWorld -> /home/omajid/HelloWorld/bin/Debug/netcoreapp2.1/HelloWorld.dll HelloWorld -> /home/omajid/HelloWorld/bin/Debug/netcoreapp2.1/publish/
> Not sure if this bug was fixed upstream or not, but it doesn't reproduce any more: The root cause is not yet understood. Upstream reported the message was gone because the build is now using the (non-preview) 2.1.0 for bootstrapping.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:1966