Adding xamarin workload manifests
This commit is contained in:
parent
dfe947054b
commit
02696474a1
2 changed files with 15 additions and 2 deletions
|
@ -144,8 +144,13 @@
|
|||
<DotnetDebToolVersion>2.0.0</DotnetDebToolVersion>
|
||||
<MicrosoftNETTestSdkVersion>16.10.0-preview-20210304-04</MicrosoftNETTestSdkVersion>
|
||||
</PropertyGroup>
|
||||
<!-- Workload manifest package versions -->
|
||||
<PropertyGroup>
|
||||
<XamarinAndroidWorkloadManifestVersion>11.2.0-ci.d16-9.0</XamarinAndroidWorkloadManifestVersion>
|
||||
<XamarinIOSWorkloadManifestVersion>14.4.100-ci.pr.gh10849.1206</XamarinIOSWorkloadManifestVersion>
|
||||
<XamarinMacCatalystWorkloadManifestVersion>14.3.100-ci.pr.gh10849.351</XamarinMacCatalystWorkloadManifestVersion>
|
||||
<XamarinMacOSWorkloadManifestVersion>11.1.100-ci.pr.gh10849.1259</XamarinMacOSWorkloadManifestVersion>
|
||||
<XamarinTvOSWorkloadManifestVersion>14.3.100-ci.pr.gh10849.1259</XamarinTvOSWorkloadManifestVersion>
|
||||
<BlazorWorkloadManifestVersion>6.0.0-preview.3.21161.5</BlazorWorkloadManifestVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
|
|
|
@ -2,12 +2,20 @@
|
|||
|
||||
<ItemGroup>
|
||||
<BundledManifests Include="Microsoft.NET.Workload.Android" Version="$(XamarinAndroidWorkloadManifestVersion)" WorkloadId="Microsoft.NET.Workload.Android" />
|
||||
<BundledManifests Include="Microsoft.NET.Workload.iOS" Version="$(XamarinIOSWorkloadManifestVersion)" WorkloadId="Microsoft.NET.Workload.iOS" />
|
||||
<BundledManifests Include="Microsoft.NET.Workload.MacCatalyst" Version="$(XamarinMacCatalystWorkloadManifestVersion)" WorkloadId="Microsoft.NET.Workload.MacCatalyst" />
|
||||
<BundledManifests Include="Microsoft.NET.Workload.macOS" Version="$(XamarinMacOSWorkloadManifestVersion)" WorkloadId="Microsoft.NET.Workload.macOS" />
|
||||
<BundledManifests Include="Microsoft.NET.Workload.tvOS" Version="$(XamarinTvOSWorkloadManifestVersion)" WorkloadId="Microsoft.NET.Workload.tvOS" />
|
||||
<BundledManifests Include="Microsoft.NET.Sdk.BlazorWebAssembly.AOT" Version="$(BlazorWorkloadManifestVersion)" WorkloadId="Microsoft.NET.Workload.BlazorWebAssembly" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Restore workload manifests via PackageReference -->
|
||||
<ItemGroup>
|
||||
<PackageReference Include="@(BundledManifests)" />
|
||||
<BundledManifestsForPackageDownload Include="@(BundledManifests)" >
|
||||
<Version>[%(Version)]</Version>
|
||||
</BundledManifestsForPackageDownload>
|
||||
|
||||
<PackageDownload Include="@(BundledManifestsForPackageDownload)" />
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="LayoutManifests"
|
||||
|
@ -34,7 +42,7 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<ManifestsMSIInstallerFile>$(ArtifactsNonShippingPackagesDir)dotnet-sdkmanifests-$(FullNugetVersion)-$(ProductMonikerRid)$(InstallerExtension)</ManifestsMSIInstallerFile>
|
||||
<ManifestsDependencyKeyName>SDK_Manifests_$([System.String]::Copy('$(Version)').Replace('-', '_'))</ManifestsDependencyKeyName>
|
||||
<ManifestsDependencyKeyName>SDK_Manifests_$([MSBuild]::ValueOrDefault('$(Version)', '').Replace('-', '_'))</ManifestsDependencyKeyName>
|
||||
<ManifestsBrandName>Microsoft .NET SDK Workload Manifests $(Version)</ManifestsBrandName>
|
||||
<ManifestsLayoutPath>$(BaseOutputPath)$(Configuration)\sdk-manifests</ManifestsLayoutPath>
|
||||
</PropertyGroup>
|
||||
|
|
Loading…
Reference in a new issue