REGRESSION INFO: New feature on 11.0 P4, not repro in previous build
INSTALL STEPS:
- Clean Win 11 25h2 x64
- Install Latest 11.0 P4 build from https://release.dot.net/
- Apply Feed
Platform
Repro Steps
- Open up a normal Command Prompt (Terminal)
- Create a blazor-wasm-servicedefaults app and run it.
dotnet new blazor-wasm-servicedefaults -o servicedefaults
Actual Result
error NU1102 Unable to find package Microsoft.Extensions.ServiceDiscovery with version (>= 10.6.0-preview.1.26210.2)


Error Log
C:\Users\v-zhajin\servicedefaults1\servicedefaults1.csproj : error NU1102:
Unable to find package Microsoft.Extensions.ServiceDiscovery with version (>= 10.6.0-preview.1.26210.2)
- Found 36 version(s) in nuget.org [ Nearest version: 10.5.0 ]
- Found 0 version(s) in Microsoft Visual Studio Offline Packages
- Found 0 version(s) in C:\Program Files\dotnet\library-packs
- Found 0 version(s) in net11
Restore failed.
Post action failed.
Manual instructions: Run 'dotnet restore'.
Expected Result
There is not any error.
Note:
- After change the packages version to
10.5.0, it will work.
https://www.nuget.org/packages/Microsoft.Extensions.ServiceDiscovery

REGRESSION INFO: New feature on 11.0 P4, not repro in previous build
INSTALL STEPS:
Platform
Repro Steps
Actual Result
error NU1102


Unable to find package Microsoft.Extensions.ServiceDiscovery with version (>= 10.6.0-preview.1.26210.2)Error Log
Expected Result
There is not any error.
Note:
10.5.0, it will work.https://www.nuget.org/packages/Microsoft.Extensions.ServiceDiscovery