Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restore failed, error NU1103: Unable to find a stable package #41656

Closed
lost-bytes-x opened this issue May 12, 2022 · 7 comments
Closed

restore failed, error NU1103: Unable to find a stable package #41656

lost-bytes-x opened this issue May 12, 2022 · 7 comments
Labels
area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Comments

@lost-bytes-x
Copy link

lost-bytes-x commented May 12, 2022

summary

I'm building asp.net core from source, according to Build ASP.NET Core from Source

my current configuration

  • aspnetcore.git tag 6.0.5 e5f183b

  • global.json:

    {
      "sdk": {
        "version": "6.0.300" // original: 6.0.104
      },
      "tools": {
        "vswhere": "3.0.1", // added
        "dotnet": "6.0.300", // original: 6.0.104
        "runtimes": {
          "dotnet/x64": [
            "2.1.30",
            "$(MicrosoftNETCoreBrowserDebugHostTransportVersion)"
          ],
          "dotnet/x86": [
            "$(MicrosoftNETCoreBrowserDebugHostTransportVersion)"
          ],
          "aspnetcore/x64": [
            "3.1.24"
          ]
        },
        "Git": "2.22.0",
        "jdk": "11.0.3",
        "vs": {
          "version": "17.2.0", // original: 16.8
          "components": [
            "Microsoft.VisualStudio.Component.VC.ATL",
            "Microsoft.VisualStudio.Component.VC.Tools.x86.x64"
          ]
        },
        "xcopy-msbuild": "16.5.0-alpha"
      },
      "msbuild-sdks": {
        "Yarn.MSBuild": "1.22.10",
        "Microsoft.DotNet.Arcade.Sdk": "6.0.0-beta.22212.5",
        "Microsoft.DotNet.Helix.Sdk": "6.0.0-beta.22212.5"
      }
    }

    vswhere info

  • eng\Versions.props

        ...
        <!-- <MicrosoftNETCoreBrowserDebugHostTransportVersion>6.0.5-servicing.22213.9</MicrosoftNETCoreBrowserDebugHostTransportVersion> -->
        <MicrosoftNETCoreBrowserDebugHostTransportVersion>6.0.5</MicrosoftNETCoreBrowserDebugHostTransportVersion>
        ...
  • visual studio version: enterprise 2022 17.2.0

steps

run .\restore.cmd

full output:

Building of C# project is enabled and has dependencies on NodeJS projects. Building of NodeJS projects is enabled since node is detected in C:\Program Files.
Detected JDK in C:\Program Files\Java\jdk-11.0.11 (via JAVA_HOME)

  正在确定要还原的项目…
  工具dotnet-serve(版本1.7.139)已还原。可用的命令: dotnet-serve
  工具playwright-sharp-tool(版本0.170.2)已还原。可用的命令: playwright-sharp

  还原成功。
  所有项目均是最新的,无法还原。
  正在确定要还原的项目…
  所有项目均是最新的,无法还原。
  GenerateFiles -> C:\Users\Cocoa\Documents\Workspace\aspnetcore\artifacts\bin\GenerateFiles\Directory.Build.props
  GenerateFiles -> C:\Users\Cocoa\Documents\Workspace\aspnetcore\artifacts\bin\GenerateFiles\Directory.Build.targets
Attempting to install dotnet from public location.
dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where:
dotnet-install: - The SDK needs to be installed without user interaction and without admin rights.
dotnet-install: - The SDK installation doesn't need to persist across multiple CI runs.
dotnet-install: To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer.

dotnet-install: .NET Core Runtime with version '2.1.30' is already installed.
dotnet-install: Adding to current process PATH: "C:\Users\Cocoa\Documents\Workspace\aspnetcore\.dotnet\". Note: This change will not be visible if PowerShell was run as a child process.
Attempting to install dotnet from public location.
dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where:
dotnet-install: - The SDK needs to be installed without user interaction and without admin rights.
dotnet-install: - The SDK installation doesn't need to persist across multiple CI runs.
dotnet-install: To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer.

dotnet-install: .NET Core Runtime with version '6.0.5' is already installed.
dotnet-install: Adding to current process PATH: "C:\Users\Cocoa\Documents\Workspace\aspnetcore\.dotnet\". Note: This change will not be visible if PowerShell was run as a child process.
Attempting to install dotnet from public location.
dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where:
dotnet-install: - The SDK needs to be installed without user interaction and without admin rights.
dotnet-install: - The SDK installation doesn't need to persist across multiple CI runs.
dotnet-install: To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer.

dotnet-install: .NET Core Runtime with version '6.0.5' is already installed.
dotnet-install: Adding to current process PATH: "C:\Users\Cocoa\Documents\Workspace\aspnetcore\.dotnet\x86\". Note: This change will not be visible if PowerShell was run as a child process.
Attempting to install dotnet from public location.
dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where:
dotnet-install: - The SDK needs to be installed without user interaction and without admin rights.
dotnet-install: - The SDK installation doesn't need to persist across multiple CI runs.
dotnet-install: To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer.

dotnet-install: ASP.NET Core Runtime with version '3.1.24' is already installed.
dotnet-install: Adding to current process PATH: "C:\Users\Cocoa\Documents\Workspace\aspnetcore\.dotnet\". Note: This change will not be visible if PowerShell was run as a child process.
  正在确定要还原的项目…
  所有项目均是最新的,无法还原。
  RepoTasks -> C:\Users\Cocoa\Documents\Workspace\aspnetcore\artifacts\bin\RepoTasks\Release\net6.0\RepoTasks.dll
  RepoTasks -> C:\Users\Cocoa\Documents\Workspace\aspnetcore\artifacts\bin\RepoTasks\Release\net472\RepoTasks.dll

  正在确定要还原的项目…
  工具dotnet-serve(版本1.7.139)已还原。可用的命令: dotnet-serve
  工具playwright-sharp-tool(版本0.170.2)已还原。可用的命令: playwright-sharp

  还原成功。
  所有项目均是最新的,无法还原。
Attempting to install dotnet from public location.
dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where:
dotnet-install: - The SDK needs to be installed without user interaction and without admin rights.
dotnet-install: - The SDK installation doesn't need to persist across multiple CI runs.
dotnet-install: To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer.

dotnet-install: .NET Core Runtime with version '2.1.30' is already installed.
dotnet-install: Adding to current process PATH: "C:\Users\Cocoa\Documents\Workspace\aspnetcore\.dotnet\". Note: This change will not be visible if PowerShell was run as a child process.
Attempting to install dotnet from public location.
dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where:
dotnet-install: - The SDK needs to be installed without user interaction and without admin rights.
dotnet-install: - The SDK installation doesn't need to persist across multiple CI runs.
dotnet-install: To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer.

dotnet-install: .NET Core Runtime with version '6.0.5' is already installed.
dotnet-install: Adding to current process PATH: "C:\Users\Cocoa\Documents\Workspace\aspnetcore\.dotnet\". Note: This change will not be visible if PowerShell was run as a child process.
Attempting to install dotnet from public location.
dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where:
dotnet-install: - The SDK needs to be installed without user interaction and without admin rights.
dotnet-install: - The SDK installation doesn't need to persist across multiple CI runs.
dotnet-install: To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer.

dotnet-install: .NET Core Runtime with version '6.0.5' is already installed.
dotnet-install: Adding to current process PATH: "C:\Users\Cocoa\Documents\Workspace\aspnetcore\.dotnet\x86\". Note: This change will not be visible if PowerShell was run as a child process.
Attempting to install dotnet from public location.
dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where:
dotnet-install: - The SDK needs to be installed without user interaction and without admin rights.
dotnet-install: - The SDK installation doesn't need to persist across multiple CI runs.
dotnet-install: To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer.

dotnet-install: ASP.NET Core Runtime with version '3.1.24' is already installed.
dotnet-install: Adding to current process PATH: "C:\Users\Cocoa\Documents\Workspace\aspnetcore\.dotnet\". Note: This change will not be visible if PowerShell was run as a child process.
  正在确定要还原的项目…
  所有项目均是最新的,无法还原。

已成功生成。
    0 个警告
    0 个错误

已用时间 00:00:37.85

  正在确定要还原的项目…
  工具dotnet-serve(版本1.7.139)已还原。可用的命令: dotnet-serve
  工具playwright-sharp-tool(版本0.170.2)已还原。可用的命令: playwright-sharp

  还原成功。
  所有项目均是最新的,无法还原。
  正在确定要还原的项目…
  所有项目均是最新的,无法还原。
  GenerateFiles -> C:\Users\Cocoa\Documents\Workspace\aspnetcore\artifacts\bin\GenerateFiles\Directory.Build.props
  GenerateFiles -> C:\Users\Cocoa\Documents\Workspace\aspnetcore\artifacts\bin\GenerateFiles\Directory.Build.targets
Attempting to install dotnet from public location.
dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where:
dotnet-install: - The SDK needs to be installed without user interaction and without admin rights.
dotnet-install: - The SDK installation doesn't need to persist across multiple CI runs.
dotnet-install: To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer.

dotnet-install: .NET Core Runtime with version '2.1.30' is already installed.
dotnet-install: Adding to current process PATH: "C:\Users\Cocoa\Documents\Workspace\aspnetcore\.dotnet\". Note: This change will not be visible if PowerShell was run as a child process.
Attempting to install dotnet from public location.
dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where:
dotnet-install: - The SDK needs to be installed without user interaction and without admin rights.
dotnet-install: - The SDK installation doesn't need to persist across multiple CI runs.
dotnet-install: To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer.

dotnet-install: .NET Core Runtime with version '6.0.5' is already installed.
dotnet-install: Adding to current process PATH: "C:\Users\Cocoa\Documents\Workspace\aspnetcore\.dotnet\". Note: This change will not be visible if PowerShell was run as a child process.
Attempting to install dotnet from public location.
dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where:
dotnet-install: - The SDK needs to be installed without user interaction and without admin rights.
dotnet-install: - The SDK installation doesn't need to persist across multiple CI runs.
dotnet-install: To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer.

dotnet-install: .NET Core Runtime with version '6.0.5' is already installed.
dotnet-install: Adding to current process PATH: "C:\Users\Cocoa\Documents\Workspace\aspnetcore\.dotnet\x86\". Note: This change will not be visible if PowerShell was run as a child process.
Attempting to install dotnet from public location.
dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where:
dotnet-install: - The SDK needs to be installed without user interaction and without admin rights.
dotnet-install: - The SDK installation doesn't need to persist across multiple CI runs.
dotnet-install: To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer.

dotnet-install: ASP.NET Core Runtime with version '3.1.24' is already installed.
dotnet-install: Adding to current process PATH: "C:\Users\Cocoa\Documents\Workspace\aspnetcore\.dotnet\". Note: This change will not be visible if PowerShell was run as a child process.
  正在确定要还原的项目…
  已还原 C:\Users\Cocoa\Documents\Workspace\aspnetcore\src\ProjectTemplates\testassets\DotNetToolsInstaller\DotNetToolsIns
  taller.csproj (用时 268 ms)。
C:\Users\Cocoa\Documents\Workspace\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.Web
Assembly.Server.csproj : error NU1103: 找不到版本为 (>= 6.0.5) 的稳定包 Microsoft.NETCore.BrowserDebugHost.Transport [C:\Users\Co
coa\Documents\Workspace\aspnetcore\.dotnet\sdk\6.0.300\NuGet.targets]
C:\Users\Cocoa\Documents\Workspace\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.Web
Assembly.Server.csproj : error NU1103:   - 在 dotnet6-transport 中找到 2137 个版本[ 最接近版本: 6.0.6-servicing.22253.10 ] [C:\User
s\Cocoa\Documents\Workspace\aspnetcore\.dotnet\sdk\6.0.300\NuGet.targets]
C:\Users\Cocoa\Documents\Workspace\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.Web
Assembly.Server.csproj : error NU1103:   - 在 dotnet5-transport 中找到 220 个版本[ 最接近版本: 6.0.0-alpha.1.20420.3 ] [C:\Users\Co
coa\Documents\Workspace\aspnetcore\.dotnet\sdk\6.0.300\NuGet.targets]
C:\Users\Cocoa\Documents\Workspace\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.Web
Assembly.Server.csproj : error NU1103:   - 在 dotnet31-transport 中找到 1 个版本[ 最接近版本: 5.0.8-servicing.21315.4 ] [C:\Users\C
ocoa\Documents\Workspace\aspnetcore\.dotnet\sdk\6.0.300\NuGet.targets]
C:\Users\Cocoa\Documents\Workspace\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.Web
Assembly.Server.csproj : error NU1103:   - 在 richnav 中找到 0 个版本 [C:\Users\Cocoa\Documents\Workspace\aspnetcore\.dotnet\s
dk\6.0.300\NuGet.targets]
C:\Users\Cocoa\Documents\Workspace\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.Web
Assembly.Server.csproj : error NU1103:   - 在 dotnet-eng 中找到 0 个版本 [C:\Users\Cocoa\Documents\Workspace\aspnetcore\.dotne
t\sdk\6.0.300\NuGet.targets]
C:\Users\Cocoa\Documents\Workspace\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.Web
Assembly.Server.csproj : error NU1103:   - 在 dotnet-experimental 中找到 0 个版本 [C:\Users\Cocoa\Documents\Workspace\aspnetco
re\.dotnet\sdk\6.0.300\NuGet.targets]
C:\Users\Cocoa\Documents\Workspace\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.Web
Assembly.Server.csproj : error NU1103:   - 在 dotnet-public 中找到 0 个版本 [C:\Users\Cocoa\Documents\Workspace\aspnetcore\.do
tnet\sdk\6.0.300\NuGet.targets]
C:\Users\Cocoa\Documents\Workspace\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.Web
Assembly.Server.csproj : error NU1103:   - 在 dotnet-tools 中找到 0 个版本 [C:\Users\Cocoa\Documents\Workspace\aspnetcore\.dot
net\sdk\6.0.300\NuGet.targets]
C:\Users\Cocoa\Documents\Workspace\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.Web
Assembly.Server.csproj : error NU1103:   - 在 dotnet5 中找到 0 个版本 [C:\Users\Cocoa\Documents\Workspace\aspnetcore\.dotnet\s
dk\6.0.300\NuGet.targets]
C:\Users\Cocoa\Documents\Workspace\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.Web
Assembly.Server.csproj : error NU1103:   - 在 dotnet6 中找到 0 个版本 [C:\Users\Cocoa\Documents\Workspace\aspnetcore\.dotnet\s
dk\6.0.300\NuGet.targets]
  未能还原 C:\Users\Cocoa\Documents\Workspace\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Compone
  nts.WebAssembly.Server.csproj (用时 10.26 sec)。
  531 个项目(共 533 个)是最新的,无法还原。

生成失败。

C:\Users\Cocoa\Documents\Workspace\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.Web
Assembly.Server.csproj : error NU1103: 找不到版本为 (>= 6.0.5) 的稳定包 Microsoft.NETCore.BrowserDebugHost.Transport [C:\Users\Co
coa\Documents\Workspace\aspnetcore\.dotnet\sdk\6.0.300\NuGet.targets]
C:\Users\Cocoa\Documents\Workspace\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.Web
Assembly.Server.csproj : error NU1103:   - 在 dotnet6-transport 中找到 2137 个版本[ 最接近版本: 6.0.6-servicing.22253.10 ] [C:\User
s\Cocoa\Documents\Workspace\aspnetcore\.dotnet\sdk\6.0.300\NuGet.targets]
C:\Users\Cocoa\Documents\Workspace\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.Web
Assembly.Server.csproj : error NU1103:   - 在 dotnet5-transport 中找到 220 个版本[ 最接近版本: 6.0.0-alpha.1.20420.3 ] [C:\Users\Co
coa\Documents\Workspace\aspnetcore\.dotnet\sdk\6.0.300\NuGet.targets]
C:\Users\Cocoa\Documents\Workspace\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.Web
Assembly.Server.csproj : error NU1103:   - 在 dotnet31-transport 中找到 1 个版本[ 最接近版本: 5.0.8-servicing.21315.4 ] [C:\Users\C
ocoa\Documents\Workspace\aspnetcore\.dotnet\sdk\6.0.300\NuGet.targets]
C:\Users\Cocoa\Documents\Workspace\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.Web
Assembly.Server.csproj : error NU1103:   - 在 richnav 中找到 0 个版本 [C:\Users\Cocoa\Documents\Workspace\aspnetcore\.dotnet\s
dk\6.0.300\NuGet.targets]
C:\Users\Cocoa\Documents\Workspace\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.Web
Assembly.Server.csproj : error NU1103:   - 在 dotnet-eng 中找到 0 个版本 [C:\Users\Cocoa\Documents\Workspace\aspnetcore\.dotne
t\sdk\6.0.300\NuGet.targets]
C:\Users\Cocoa\Documents\Workspace\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.Web
Assembly.Server.csproj : error NU1103:   - 在 dotnet-experimental 中找到 0 个版本 [C:\Users\Cocoa\Documents\Workspace\aspnetco
re\.dotnet\sdk\6.0.300\NuGet.targets]
C:\Users\Cocoa\Documents\Workspace\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.Web
Assembly.Server.csproj : error NU1103:   - 在 dotnet-public 中找到 0 个版本 [C:\Users\Cocoa\Documents\Workspace\aspnetcore\.do
tnet\sdk\6.0.300\NuGet.targets]
C:\Users\Cocoa\Documents\Workspace\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.Web
Assembly.Server.csproj : error NU1103:   - 在 dotnet-tools 中找到 0 个版本 [C:\Users\Cocoa\Documents\Workspace\aspnetcore\.dot
net\sdk\6.0.300\NuGet.targets]
C:\Users\Cocoa\Documents\Workspace\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.Web
Assembly.Server.csproj : error NU1103:   - 在 dotnet5 中找到 0 个版本 [C:\Users\Cocoa\Documents\Workspace\aspnetcore\.dotnet\s
dk\6.0.300\NuGet.targets]
C:\Users\Cocoa\Documents\Workspace\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.Web
Assembly.Server.csproj : error NU1103:   - 在 dotnet6 中找到 0 个版本 [C:\Users\Cocoa\Documents\Workspace\aspnetcore\.dotnet\s
dk\6.0.300\NuGet.targets]
    0 个警告
    1 个错误

已用时间 00:00:47.24
Build failed with exit code 1. Check errors above.

error: NU1103: Unable to find a stable package (>= 6.0.5) Microsoft.NETCore.BrowserDebugHost.Transport

@lost-bytes-x lost-bytes-x changed the title restore failed, due to error NU1103: Unable to find a stable package restore failed, error NU1103: Unable to find a stable package May 12, 2022
@lost-bytes-x
Copy link
Author

@dougbu 😅

@javiercn javiercn added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label May 12, 2022
@dougbu
Copy link
Member

dougbu commented May 12, 2022

Tags from servicing releases e.g. the v6.0.5 rarely build successfully because the specific versions are often available only internally. The cleanup done when we merge changes into GitHub gets things working again.
In addition, your changes to the Microsoft.NETCore.BrowserDebugHost.Transport version make things worse. That package does not ship and never gets a stable version like 6.0.5.
I recommend undoing your changes and starting from the current release/6.0 content or another commit along the main line of that branch.

@dougbu dougbu closed this as completed May 12, 2022
@lost-bytes-x
Copy link
Author

@dougbu Thank you for your reply

I've tried version 6.0.0

error: NU1103: Unable to find a stable package (>= 6.0.0) Microsoft.NETCore.BrowserDebugHost.Transport

D:\01_Computer\10_Projects\VisualStudio\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.WebAssembly.Server.csproj : error NU1103: 找不到版本为 (>= 6.0.0) 的稳定包 Microsoft.NETCore.BrowserDebugHost.Transport [D:\01_Computer\10_Projects\VisualStudio\aspnetcore\.dotnet\sdk\6.0.100\NuGet.targets]
D:\01_Computer\10_Projects\VisualStudio\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.WebAssembly.Server.csproj : error NU1103:   - 在 dotnet6-transport 中找到 2137 个版本[ 最接近版本: 6.0.1-mauipre.1.21602.7 ] [D:\01_Computer\10_Projects\VisualStudio\aspnetcore\.dotnet\sdk\6.0.100\NuGet.targets]
D:\01_Computer\10_Projects\VisualStudio\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.WebAssembly.Server.csproj : error NU1103:   - 在 dotnet5-transport 中找到 220 个版本[ 最接近版本: 6.0.0-alpha.1.20420.3 ] [D:\01_Computer\10_Projects\VisualStudio\aspnetcore\.dotnet\sdk\6.0.100\NuGet.targets]
D:\01_Computer\10_Projects\VisualStudio\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.WebAssembly.Server.csproj : error NU1103:   - 在 dotnet31-transport 中找到 1 个版本[ 最接近版本: 5.0.8-servicing.21315.4 ] [D:\01_Computer\10_Projects\VisualStudio\aspnetcore\.dotnet\sdk\6.0.100\NuGet.targets]
D:\01_Computer\10_Projects\VisualStudio\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.WebAssembly.Server.csproj : error NU1103:   - 在 richnav 中找到 0 个版本 [D:\01_Computer\10_Projects\VisualStudio\aspnetcore\.dotnet\sdk\6.0.100\NuGet.targets]
D:\01_Computer\10_Projects\VisualStudio\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.WebAssembly.Server.csproj : error NU1103:   - 在 darc-pub-dotnet-efcore-0e37421 中找到 0 个版本 [D:\01_Computer\10_Projects\VisualStudio\aspnetcore\.dotnet\sdk\6.0.100\NuGet.targets]
D:\01_Computer\10_Projects\VisualStudio\aspnetcore\src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.WebAssembly.Server.csproj : error NU1103:   - 在 darc-pub-dotnet-runtime-4822e3c-

@dougbu
Copy link
Member

dougbu commented May 13, 2022

Right, the package version you want will never lack a -servicing suffix. 6.0.5-servicing.22213.9 is the latest publicly-available version of Microsoft.NETCore.BrowserDebugHost.Transport for 6.0.x.

@lost-bytes-x
Copy link
Author

lost-bytes-x commented May 13, 2022

Microsoft.NETCore.BrowserDebugHost.Transport version specified in the Version.Details.xml 😕❓

dgspec

| Tip: my current branch is 'release/6.0' [0ceffe0]:

Still prompt error: NU1103: Unable to find a stable package (>= 6.0.5) Microsoft.NETCore.BrowserDebugHost.Transport

what should i do? 😭

@dougbu
Copy link
Member

dougbu commented May 13, 2022

You should undo your changes to eng/Versions.props.

@lost-bytes-x
Copy link
Author

You should undo your changes to eng/Versions.props.

resolved!

😃 Thank you for your patience!

@ghost ghost locked as resolved and limited conversation to collaborators Jun 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework
Projects
None yet
Development

No branches or pull requests

3 participants