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.75k stars 1.07k forks source link

After installing .NET SDK 9.0 RC2 creating 8.0/6.0 project requires October Servicing (8.0.10/6.0.35) feeds. #43465

Closed markminon closed 2 months ago

markminon commented 2 months ago

Testcases Affected [8.0]IdentityWithBlazorWASMIndAuth [6.0]IdentityWithBlazorWASMIndAuth

Affected 8.0 Blazor Web App for WebAssembly app and 6.0 Blazor WebAssembly app

Install Steps

  1. Clean machine: Win 11 x64 22h2 ENU

  2. Install Dev17.12 Preview 3 [main-35315.05], Preview channel

    • Web workload + Web Application Development
    • Check .NET Framework project and item templates
  3. Install .NET 9.0 RC2: https://aka.ms/dotnet/9.0.1xx/daily/dotnet-sdk-win-x64.exe

  4. Apply feed: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json

Repro Steps

  1. Create a Blazor Web App for WebAssembly via Terminal Emulator dotnet new blazor -int WebAssembly -o Blazortest -f net8.0

Note:

  1. This issue does not repro on Blazor web for server project.
  2. This issue does not repro on 9.0 Blazor web for WebAssembly project.
  3. This issue does not repro without install .NET 9.0 RC2 SDK.

EXPECTED The project should be created successfully.

ACTUAL image

For 6.0 image

Error Log

Restoring C:\Users\v-mminon\Blazortest\Blazortest.sln:
C:\Users\v-mminon\Blazortest\Blazortest\Blazortest.csproj : warning NU1903: Package 'System.Text.Json' 8.0.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-hh2w-p6rv-4g7w
C:\Users\v-mminon\Blazortest\Blazortest.Client\Blazortest.Client.csproj : error NU1102:
  Unable to find package Microsoft.NETCore.App.Runtime.Mono.browser-wasm with version (= 8.0.10)
    - Found 96 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-mminon\Blazortest\Blazortest.Client\Blazortest.Client.csproj : warning NU1903: Package 'System.Text.Json' 8.0.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-hh2w-p6rv-4g7w
Restore failed.
Post action failed.
Manual instructions: Run 'dotnet restore'

Dotnet info

.NET SDK:
 Version:           9.0.100-rc.2.24464.3
 Commit:            1a658dfc71
 Workload version:  9.0.100-manifests.792c81b2
 MSBuild version:   17.12.0-preview-24463-04+8500d97af

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.2.24464.3\

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

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

.NET SDKs installed:
  8.0.400 [C:\Program Files\dotnet\sdk]
  9.0.100-rc.1.24452.12 [C:\Program Files\dotnet\sdk]
  9.0.100-rc.2.24464.3 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.33 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 8.0.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 9.0.0-rc.1.24452.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 9.0.0-rc.2.24463.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.33 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 8.0.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 9.0.0-rc.1.24431.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 9.0.0-rc.2.24462.10 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 6.0.33 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 8.0.8 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 9.0.0-rc.1.24452.1 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 9.0.0-rc.2.24463.4 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
markminon commented 2 months ago

Verify this issue doesn't reproduce when applying October servicing feed. So, close this bug as fixed.