[release/7.0.1xx-rc2] [net7.0] [workload] Update net6.0 KnownFrameworkReference - #16136
Conversation
A `Xamarin.Shared.Sdk.MultiTarget.targets` file has been added to update the ref/runtime pack versions associated with the .NET 6 SDK. This file will only be imported when using the .NET 6 SDK, and it should work around the need to add new net6 and net7 versioned aliases of the Ref and Runtime packs. Adding this file to `AfterMicrosoftNETSdkTargets` will ensure that it is imported last, after all KnownFrameworkReferences that need updating are declared.
Commit 53766eb attempted to remove all references to the `Ref` and `Runtime` packs that had a `.net7` alias, however one instance in the workload manifest was missed.
…kload that wants to reference more than one set of ref/runtime packs.
🔥 [PR Build] Build failed 🔥Build failed for the job 'Build packages' Pipeline on Agent |
✅ API diff for current PR / commitLegacy Xamarin (No breaking changes)
.NET (No breaking changes)✅ API diff vs stableLegacy Xamarin (No breaking changes).NET (No breaking changes)✅ Generator diffGenerator diff is empty Pipeline on Agent |
❌ [PR Build] Tests on macOS Mac Catalina (10.15) failed ❌Failed tests are:
Pipeline on Agent |
❌ [PR Build] Tests on macOS M1 - Mac Big Sur (11.5) failed ❌Failed tests are:
Pipeline on Agent |
🚀 [CI Build] Test results 🚀Test results✅ All tests passed on VSTS: simulator tests. 🎉 All 223 tests passed 🎉 Tests counts✅ bcl: All 69 tests passed. Html Report (VSDrops) Download Pipeline on Agent |
A
Xamarin.Shared.Sdk.MultiTarget.targetsfile has been added to updatethe ref/runtime pack versions associated with the .NET 6 SDK. This file
will ship as part of the .NET 7 SDK but only be imported when using the
.NET 6 SDK. This should work around the need to add new and net7
versioned aliases of the
RefandRuntimepacks. Adding this file toAfterMicrosoftNETSdkTargetswill ensure that it is imported last,after all
KnownFrameworkReferencesthat need updating are declared.Backport of #15834
Backport of #15882