Skip to content

Comments

Update referenced SDK version for source build#17909

Merged
mthalman merged 1 commit intodotnet:mainfrom
mthalman:bootstrap-sb-sdk
Dec 5, 2023
Merged

Update referenced SDK version for source build#17909
mthalman merged 1 commit intodotnet:mainfrom
mthalman:bootstrap-sb-sdk

Conversation

@mthalman
Copy link
Member

@mthalman mthalman commented Dec 4, 2023

The build of the SBRP repo in the VMR is failing for offline builds with this error:

/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.io.hashing/8.0.0/System.IO.Hashing.8.0.0.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Ref with version (= 8.0.0-rc.2.23479.6) [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/9.0.0-beta.23565.1/tools/Build.proj]

This occurs when attempting to build a project that references net8.0. It attempts to load the RC2 version of Microsoft.NETCore.App.Ref because the currently referenced SDK version is referencing RC2 in its Microsoft.NETCoreSdk.BundledVersions.props file.

These changes bootstrap source build with a newer SDK version which has an updated Microsoft.NETCoreSdk.BundledVersions.props file that references 8.0.0 instead.

Use of the 8.0.0 version will succeed in the build because SBRP has already been updated to include a targeting pack for that version: dotnet/source-build-reference-packages#829

@mthalman mthalman requested a review from a team as a code owner December 4, 2023 22:01
@mthalman mthalman merged commit ff13f9c into dotnet:main Dec 5, 2023
@mthalman mthalman deleted the bootstrap-sb-sdk branch December 5, 2023 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants