net9.0 Blazor Server NU1102 on dotnet restore --runtime linux-x64

Open
#110,624 13 comments 6 reactions 1 assignee View on GitHub

@maraf is already working on this.

Since Jan 15, 2025.

Assessment

This issue has not been assessed yet.

Description

arch-wasm area-Build-mono
Description

Hi,

I'm trying to use dontet restore --runtime linux-x64. Restore is failed with message:
error NU1102: Unable to find package Microsoft.NETCore.App.Runtime.Mono.linux-x64 with version (= 9.0.0)

Above line is used in my docker file. It started to crash after updating from .net8 to .net9

Reproduction Steps
  • create clear .net 9 Blazor Web App.
  • run dontet restore --runtime linux-x64
Expected behavior

dontet restore is finished without arrors

Actual behavior

command finishes with message: error NU1102: Unable to find package Microsoft.NETCore.App.Runtime.Mono.linux-x64 with version (= 9.0.0)

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

It is specific to restore, buld works fine.

Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/runtime

All issues in dotnet/runtime

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.