Closed
Description
Example of a failing build (Microsoft internal link)
/__w/1/s/src/source-build-reference-packages/eng/NoOp.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Ref with version (= 9.0.0) [/__w/1/s/.dotnet/sdk/10.0.100-alpha.1.24611.6/NuGet.targets] [/__w/1/s/.packages/BootstrapPackages/microsoft.dotnet.arcade.sdk/10.0.0-beta.24604.4/tools/Build.proj]
/__w/1/s/src/source-build-reference-packages/eng/NoOp.csproj : error NU1102: - Found 7 version(s) in reference-packages [ Nearest version: 8.0.0 ] [/__w/1/s/.dotnet/sdk/10.0.100-alpha.1.24611.6/NuGet.targets] [/__w/1/s/.packages/BootstrapPackages/microsoft.dotnet.arcade.sdk/10.0.0-beta.24604.4/tools/Build.proj]
/__w/1/s/src/source-build-reference-packages/eng/NoOp.csproj : error NU1102: - Found 1 version(s) in previously-source-built [ Nearest version: 10.0.0-alpha.1.24610.2 ] [/__w/1/s/.dotnet/sdk/10.0.100-alpha.1.24611.6/NuGet.targets] [/__w/1/s/.packages/BootstrapPackages/microsoft.dotnet.arcade.sdk/10.0.0-beta.24604.4/tools/Build.proj]
/__w/1/s/src/source-build-reference-packages/eng/NoOp.csproj : error NU1102: - Found 0 version(s) in source-build-reference-package-cache [/__w/1/s/.dotnet/sdk/10.0.100-alpha.1.24611.6/NuGet.targets] [/__w/1/s/.packages/BootstrapPackages/microsoft.dotnet.arcade.sdk/10.0.0-beta.24604.4/tools/Build.proj]
/__w/1/s/src/source-build-reference-packages/eng/NoOp.csproj : error NU1102: - Versions from prebuilt were not considered [/__w/1/s/.dotnet/sdk/10.0.100-alpha.1.24611.6/NuGet.targets] [/__w/1/s/.packages/BootstrapPackages/microsoft.dotnet.arcade.sdk/10.0.0-beta.24604.4/tools/Build.proj]
/__w/1/s/src/source-build-reference-packages/eng/NoOp.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Ref with version (= 9.0.0) [/__w/1/s/.dotnet/sdk/10.0.100-alpha.1.24611.6/NuGet.targets] [/__w/1/s/.packages/BootstrapPackages/microsoft.dotnet.arcade.sdk/10.0.0-beta.24604.4/tools/Build.proj]
/__w/1/s/src/source-build-reference-packages/eng/NoOp.csproj : error NU1102: - Found 7 version(s) in reference-packages [ Nearest version: 8.0.0 ] [/__w/1/s/.dotnet/sdk/10.0.100-alpha.1.24611.6/NuGet.targets] [/__w/1/s/.packages/BootstrapPackages/microsoft.dotnet.arcade.sdk/10.0.0-beta.24604.4/tools/Build.proj]
/__w/1/s/src/source-build-reference-packages/eng/NoOp.csproj : error NU1102: - Found 1 version(s) in previously-source-built [ Nearest version: 10.0.0-alpha.1.24610.2 ] [/__w/1/s/.dotnet/sdk/10.0.100-alpha.1.24611.6/NuGet.targets] [/__w/1/s/.packages/BootstrapPackages/microsoft.dotnet.arcade.sdk/10.0.0-beta.24604.4/tools/Build.proj]
/__w/1/s/src/source-build-reference-packages/eng/NoOp.csproj : error NU1102: - Found 0 version(s) in source-build-reference-package-cache [/__w/1/s/.dotnet/sdk/10.0.100-alpha.1.24611.6/NuGet.targets] [/__w/1/s/.packages/BootstrapPackages/microsoft.dotnet.arcade.sdk/10.0.0-beta.24604.4/tools/Build.proj]
/__w/1/s/src/source-build-reference-packages/eng/NoOp.csproj : error NU1102: - Versions from prebuilt were not considered [/__w/1/s/.dotnet/sdk/10.0.100-alpha.1.24611.6/NuGet.targets] [/__w/1/s/.packages/BootstrapPackages/microsoft.dotnet.arcade.sdk/10.0.0-beta.24604.4/tools/Build.proj]
/__w/1/s/src/source-build-reference-packages/eng/DotNetBuild.props(28,5): error MSB3073: The command "./build.sh --configuration Release /bl:/__w/1/s/src/source-build-reference-packages/artifacts/sourcebuild-dependency-projects.binlog /p:LocalNuGetPackageCacheDirectory=/__w/1/s/artifacts/obj/source-build-reference-package-cache /p:SourceBuildOutputDir=/__w/1/s/src/source-build-reference-packages/artifacts/sb/ /p:BuildDependencyPackageProjects=true /p:SetUpSourceBuildIntermediateNupkgCache=true /p:DotNetBuildOrchestrator=true /p:DotNetBuildSourceOnly=true /p:DotNetBuildInnerRepo=true /p:MicrosoftNetCoreIlasmPackageRuntimeId=linux-x64 /p:RestoreConfigFile=/__w/1/s/artifacts/obj/source-build-reference-packages/NuGet.config" exited with code 1. [/__w/1/s/.packages/BootstrapPackages/microsoft.dotnet.arcade.sdk/10.0.0-beta.24604.4/tools/Build.proj]
0 Warning(s)
11 Error(s)
The reason this is failing is the combination of dotnet/sdk#45661 being merged along with the bootstrap arcade version having NetCurrent=9.0. I think rebootstrapping will fix this but the artifacts will hit dotnet/sdk#45661 (comment) so we will either have to skip updating the artifacts or remove Microsoft.NETCore.App.Ref 9.0.0 from the new artifacts.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done