dotnet / sdk

Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
https://dot.net/core
MIT License
2.7k stars 1.06k forks source link

After installing .NET SDK 9.0 RC1, creating 8.0/6.0 project requires September Servicing (8.0.9/6.0.34) feeds. #42888

Closed v-Lily closed 1 month ago

v-Lily commented 2 months ago

Testcases Affected All 8.0/6.0 testcases

Install Steps

  1. Clean machine: Win 11 x64 22h2 ENU
  2. Install Dev17.12 Preview 2 [main-35220.189], Preview channel
  • Web workload + Windows application development

  • Check runtime 6.0 in IC

  1. Install .Net9.0 RC1 SDK(9.0.100-rc.1.24420.26)

Repro Steps

  1. Create an 8.0/6.0 console App

EXPECTED The project should be created successfully.

ACTUAL When creating an 8.0 Console Application. image

When creating a 6.0 Console Application. image

Error log

C:\Users\v-xx\console\console.csproj : error NU1102:
  Unable to find package Microsoft.NETCore.App.Ref with version (= 8.0.9)
    - Found 123 version(s) in nuget.org [ Nearest version: 9.0.0-preview.1.24080.9 ]
    - Found 0 version(s) in Microsoft Visual Studio Offline Packages
    - Found 0 version(s) in C:\Program Files\dotnet\library-packs

C:\Users\v-xx\console1\console1.csproj : error NU1102:
  Unable to find package Microsoft.NETCore.App.Ref with version (= 6.0.34)
    - Found 123 version(s) in nuget.org [ Nearest version: 7.0.0-preview.1.22076.8 ]
    - Found 0 version(s) in Microsoft Visual Studio Offline Packages
    - Found 0 version(s) in C:\Program Files\dotnet\library-packs

Dotnet info

PS C:\Users\v-xx> dotnet --info
.NET SDK:
 Version:           9.0.100-rc.1.24420.26
 Commit:            aaf38f8ee3
 Workload version:  9.0.100-manifests.1be97c41
 MSBuild version:   17.12.0-preview-24415-04+f422d8d7d

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.22621
 OS Platform: Windows
 RID:         win-x64
 Base Path:   C:\Program Files\dotnet\sdk\9.0.100-rc.1.24420.26\

.NET workloads installed:
Configured to use loose manifests when installing new manifests.
 [aspire]
   Installation Source: VS 17.12.35220.189
   Manifest Version:    8.1.0/8.0.100
   Manifest Path:       C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.aspire\8.1.0\WorkloadManifest.json
   Install Type:        FileBased

Host:
  Version:      9.0.0-rc.1.24419.7
  Architecture: x64
  Commit:       static

.NET SDKs installed:
  9.0.100-preview.7.24407.12 [C:\Program Files\dotnet\sdk]
  9.0.100-rc.1.24420.26 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.32 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 8.0.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 9.0.0-preview.7.24406.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 9.0.0-rc.1.24416.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.32 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 8.0.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 9.0.0-preview.7.24405.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 9.0.0-rc.1.24419.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 6.0.32 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 8.0.7 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 9.0.0-preview.7.24405.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 9.0.0-rc.1.24419.4 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
  x86   [C:\Program Files (x86)\dotnet]
    registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]

Environment variables:
  Not set

global.json file:
  Not found

Learn more:
  https://aka.ms/dotnet/info

Download .NET:
  https://aka.ms/dotnet/download
v-elenafeng commented 1 month ago

@v-Lily This is fixed. can we close this?

v-Lily commented 1 month ago

@v-Lily This is fixed. can we close this?

Of course, after applying the September service feeds, it doesn't reproduce. So closed it as fixed.