Skip to content

Conversation

@jpobst
Copy link
Contributor

@jpobst jpobst commented May 16, 2022

Mono uses the .NET 6 reference libraries to build the net6.0 binaries with its msbuild. This works for .NET 6 6.0.202, however when .NET 6 is upgraded to 6.0.300 it now fails with:

/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(1232,5): error MSB3971: The reference assemblies for ".NETFramework,Version=v6.0" were not found. You might be using an older .NET SDK to target .NET 5.0 or higher. Update Visual Studio and/or your .NET SDK.

Pin our .NET 6 to the working version for now so we can continue to build successfully on CI.

@jpobst jpobst marked this pull request as ready for review May 19, 2022 13:32
@jonpryor jonpryor merged commit e7bacc3 into main May 19, 2022
@jonpryor jonpryor deleted the jpobst-patch-1 branch May 19, 2022 15:15
@jpobst jpobst mentioned this pull request May 23, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants