Bug 1588936 - released SDK prints it is a preview version
Summary: released SDK prints it is a preview version
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: dotNET
Classification: Red Hat
Component: rh-dotnet21
Version: 2.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ga
: 2.0
Assignee: Omair Majid
QA Contact: Radka Gustavsson
Les Williams
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-08 07:21 UTC by Tom Deseyn
Modified: 2021-09-09 14:28 UTC (History)
5 users (show)

Fixed In Version: rh-dotnet21-dotnet-sdk-2.1-2.1.301-1.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-25 07:02:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:1966 0 None None None 2018-06-25 07:02:40 UTC

Description Tom Deseyn 2018-06-08 07:21:11 UTC
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

Comment 3 Omair Majid 2018-06-18 20:32:39 UTC
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/

Comment 4 Tom Deseyn 2018-06-19 06:09:31 UTC
> 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.

Comment 8 errata-xmlrpc 2018-06-25 07:02:12 UTC
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


Note You need to log in before you can comment on or make changes to this bug.