Skip to content

Commit 9e2b018

Browse files
authored
Add missing workload versioning (#103284)
1 parent 07d3637 commit 9e2b018

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/mono/nuget/Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest/WorkloadManifest.json.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"mobile-librarybuilder": {
3939
"description": "Mobile SDK for building a self-contained .NET native library in ${NetVersion}.0",
4040
"packs": [
41-
"Microsoft.NET.Runtime.LibraryBuilder.Sdk"
41+
"Microsoft.NET.Runtime.LibraryBuilder.Sdk.${NetVersion}"
4242
],
4343
"extends": [ "microsoft-net-runtime-android-aot", "microsoft-net-runtime-ios", "microsoft-net-runtime-maccatalyst", "microsoft-net-runtime-tvos" ],
4444
"platforms": [ "win-x64", "win-arm64", "osx-x64", "osx-arm64" ]

src/mono/nuget/Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest/WorkloadManifest.targets.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@
9292
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Runtime.MonoTargets.Sdk.${NetVersion}" />
9393
</ImportGroup>
9494
<ImportGroup Condition="'$(_IsAndroidLibraryMode)' == 'true' or '$(_IsAppleMobileLibraryMode)' == 'true'">
95-
<Import Project="Sdk.props" Sdk="Microsoft.NET.Runtime.LibraryBuilder.Sdk" />
96-
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Runtime.LibraryBuilder.Sdk" />
95+
<Import Project="Sdk.props" Sdk="Microsoft.NET.Runtime.LibraryBuilder.Sdk.${NetVersion}" />
96+
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Runtime.LibraryBuilder.Sdk.${NetVersion}" />
9797
</ImportGroup>
9898
<ImportGroup Condition="'$(TargetsCurrent)' == 'true' and '$(RunAOTCompilation)' == 'true' and ('$(TargetPlatformIdentifier)' == 'android' or '$(_IsAndroidLibraryMode)' == 'true')">
9999
<Import Project="Sdk.props" Sdk="Microsoft.NETCore.App.Runtime.AOT.Cross.${NetVersion}.android-x86" />

0 commit comments

Comments
 (0)