forked from dotnet/macios
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[workload] Update net6.0 KnownFrameworkReference (dotnet#15834)
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 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 `Ref` and `Runtime` packs. Adding this file to `AfterMicrosoftNETSdkTargets` will ensure that it is imported last, after all `KnownFrameworkReferences` that need updating are declared.
- Loading branch information
Showing
9 changed files
with
54 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
tmpdir | ||
Workloads/Microsoft.NET.Sdk.*/LICENSE | ||
WorkloadManifest.json | ||
WorkloadManifest.targets | ||
nupkgs | ||
Microsoft.*.Sdk/targets/Microsoft.*.Sdk.ImplicitNamespaceImports.props | ||
Microsoft.*.Sdk/targets/Microsoft.*.Sdk.SupportedTargetPlatforms.props | ||
Microsoft.*.Sdk/targets/Microsoft.*.Sdk.DefaultItems.props | ||
Microsoft.*.Sdk/targets/Microsoft.*.Sdk.Versions.props | ||
Microsoft.*.Sdk/targets/Xamarin.Shared.Sdk.MultiTarget.targets | ||
Microsoft.*.Sdk/Sdk/AutoImport.props | ||
_pkg | ||
.stamp-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
dotnet/targets/Xamarin.Shared.Sdk.MultiTarget.template.targets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project> | ||
<ItemGroup Condition=" '$(TargetPlatformIdentifier)' == '$(_PlatformName)' and $([MSBuild]::VersionEquals($(TargetFrameworkVersion), '6.0')) "> | ||
<KnownFrameworkReference | ||
Update="Microsoft.$(_PlatformName)" | ||
DefaultRuntimeFrameworkVersion="@NET6_NUGET_VERSION_NO_METADATA@" | ||
LatestRuntimeFrameworkVersion="@NET6_NUGET_VERSION_NO_METADATA@" | ||
TargetingPackVersion="@NET6_NUGET_VERSION_NO_METADATA@" | ||
/> | ||
</ItemGroup> | ||
</Project> |