Skip to content

Daily build: Unable to find package Microsoft.NETCore.App.Ref with version (= 6.0.34) #42638

Closed as not planned
@prochan2

Description

@prochan2

Describe the bug

I use daily build of .NET 8 SDK. Building a project targeting .NET 6 fails on

error NU1102: Unable to find package Microsoft.NETCore.App.Ref with version (= 6.0.34)

Is there a NuGet feed that provides this version?

To Reproduce

.\dotnet-install.ps1 -SkipNonVersionedFiles -Runtime dotnet -Channel LTS
.\dotnet-install.ps1 -SkipNonVersionedFiles -Channel 8.0.3xx -Quality daily

Now make a new console project, change the target framework to net6.0 and build the project using dotnet build.

Exceptions (if any)

PS C:\Users\Tony\Downloads\MyProject> dotnet build
  Determining projects to restore...
C:\Users\Tony\Downloads\MyProject\MyProject.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Ref with version (= 6.0.34)
C:\Users\Tony\Downloads\MyProject\MyProject.csproj : error NU1102:   - Found 120 version(s) in nuget.org [ Nearest version: 7.0.0-preview.1.22076.8 ]
C:\Users\Tony\Downloads\MyProject\MyProject.csproj : error NU1102: Unable to find package Microsoft.WindowsDesktop.App.Ref with version (= 6.0.34)
C:\Users\Tony\Downloads\MyProject\MyProject.csproj : error NU1102:   - Found 116 version(s) in nuget.org [ Nearest version: 7.0.0-preview.1.22077.5 ]
C:\Users\Tony\Downloads\MyProject\MyProject.csproj : error NU1102: Unable to find package Microsoft.AspNetCore.App.Ref with version (= 6.0.34)
C:\Users\Tony\Downloads\MyProject\MyProject.csproj : error NU1102:   - Found 121 version(s) in nuget.org [ Nearest version: 7.0.0-preview.1.22109.13 ]
C:\Users\Tony\Downloads\MyProject\MyProject.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Host.win-x64 with version (= 6.0.34)
C:\Users\Tony\Downloads\MyProject\MyProject.csproj : error NU1102:   - Found 169 version(s) in nuget.org [ Nearest version: 7.0.0-preview.1.22076.8 ]
  Failed to restore C:\Users\Tony\Downloads\MyProject\MyProject.csproj (in 1.51 sec).

Further technical details

PS C:\Users\Tony\Downloads\MyProject> dotnet --info
.NET SDK:
 Version:           8.0.305
 Commit:            c9820f9da2
 Workload version:  8.0.300-manifests.c915c39d
 MSBuild version:   17.10.4+10fbfbf2e

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.22631
 OS Platform: Windows
 RID:         win-x64
 Base Path:   C:\Users\Tony\AppData\Local\Microsoft\dotnet\sdk\8.0.305\

.NET workloads installed:
There are no installed workloads to display.

Host:
  Version:      8.0.7
  Architecture: x64
  Commit:       2aade6beb0

.NET SDKs installed:
  6.0.426 [C:\Users\Tony\AppData\Local\Microsoft\dotnet\sdk]
  8.0.305 [C:\Users\Tony\AppData\Local\Microsoft\dotnet\sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.32 [C:\Users\Tony\AppData\Local\Microsoft\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 8.0.7 [C:\Users\Tony\AppData\Local\Microsoft\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.32 [C:\Users\Tony\AppData\Local\Microsoft\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 8.0.7 [C:\Users\Tony\AppData\Local\Microsoft\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 6.0.32 [C:\Users\Tony\AppData\Local\Microsoft\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 8.0.7 [C:\Users\Tony\AppData\Local\Microsoft\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
  None

Environment variables:
  Not set

global.json file:
  C:\Users\Tony\Downloads\MyProject\global.json

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

Download .NET:
  https://aka.ms/dotnet/download

I use CLI for this repro on a clean Windows 11 machine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions