Create versioned folder for .vsman file
This commit is contained in:
parent
e4bd1e035e
commit
8d7dbce43d
1 changed files with 9 additions and 4 deletions
|
@ -85,6 +85,11 @@
|
||||||
<ComponentVersions Include="microsoft-net-sdk-blazorwebassembly-aot" Version="$(SDKBundleVersion)" />
|
<ComponentVersions Include="microsoft-net-sdk-blazorwebassembly-aot" Version="$(SDKBundleVersion)" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<!-- BAR requires having version information in blobs -->
|
||||||
|
<PropertyGroup>
|
||||||
|
<VersionedVisualStudioSetupInsertionPath>$(VisualStudioSetupInsertionPath)$(SDKBundleVersion)\</VersionedVisualStudioSetupInsertionPath>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<!-- Shorten package names to avoid long path issues in Visual Studio -->
|
<!-- Shorten package names to avoid long path issues in Visual Studio -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ShortNames Include="microsoft.netcore.app.runtime;Microsoft.NETCore.App.Runtime;microsoft.net.runtime;Microsoft.NET.Runtime">
|
<ShortNames Include="microsoft.netcore.app.runtime;Microsoft.NETCore.App.Runtime;microsoft.net.runtime;Microsoft.NET.Runtime">
|
||||||
|
@ -108,7 +113,7 @@
|
||||||
</GenerateVisualStudioWorkload>
|
</GenerateVisualStudioWorkload>
|
||||||
|
|
||||||
<!-- Build all the SWIX projects. This requires full framework MSBuild-->
|
<!-- Build all the SWIX projects. This requires full framework MSBuild-->
|
||||||
<MSBuild Projects="@(SwixProjects)" Properties="SwixBuildTargets=$(SwixBuildTargets);ManifestOutputPath=$(VisualStudioSetupInsertionPath)" />
|
<MSBuild Projects="@(SwixProjects)" Properties="SwixBuildTargets=$(SwixBuildTargets);ManifestOutputPath=$(VersionedVisualStudioSetupInsertionPath)" />
|
||||||
|
|
||||||
<!-- Gather .wixobj files for post-build signing. We'll have to batch since we generated multiple MSIs in the previous step. -->
|
<!-- Gather .wixobj files for post-build signing. We'll have to batch since we generated multiple MSIs in the previous step. -->
|
||||||
<MSBuild Projects="$(MSBuildProjectFile)" Properties="_WixObjDir=%(Msis.WixObj);_Msi=%(Msis.Identity)" Targets="CreateWixPack" />
|
<MSBuild Projects="$(MSBuildProjectFile)" Properties="_WixObjDir=%(Msis.WixObj);_Msi=%(Msis.Identity)" Targets="CreateWixPack" />
|
||||||
|
@ -118,7 +123,7 @@
|
||||||
<VisualStudioManifestProjects Include="OptionalWorkloads.vsmanproj" />
|
<VisualStudioManifestProjects Include="OptionalWorkloads.vsmanproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<MSBuild Projects="@(VisualStudioManifestProjects)" Properties="SwixBuildTargets=$(SwixBuildTargets);ManifestOutputPath=$(VisualStudioSetupInsertionPath);OutputPath=$(VisualStudioSetupInsertionPath)" />
|
<MSBuild Projects="@(VisualStudioManifestProjects)" Properties="SwixBuildTargets=$(SwixBuildTargets);ManifestOutputPath=$(VersionedVisualStudioSetupInsertionPath);OutputPath=$(VersionedVisualStudioSetupInsertionPath)" />
|
||||||
|
|
||||||
<!-- Build all the MSI payload packages for NuGet. -->
|
<!-- Build all the MSI payload packages for NuGet. -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -152,7 +157,7 @@
|
||||||
<SwixProjects Include="$(WorkloadIntermediateOutputPath)**\*.swixproj" />
|
<SwixProjects Include="$(WorkloadIntermediateOutputPath)**\*.swixproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<MSBuild Projects="@(SwixProjects)" BuildInParallel="true" Properties="SwixBuildTargets=$(SwixBuildTargets);ManifestOutputPath=$(VisualStudioSetupInsertionPath)" />
|
<MSBuild Projects="@(SwixProjects)" BuildInParallel="true" Properties="SwixBuildTargets=$(SwixBuildTargets);ManifestOutputPath=$(VersionedVisualStudioSetupInsertionPath)" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="BuildVisualStudioManifest">
|
<Target Name="BuildVisualStudioManifest">
|
||||||
|
@ -160,7 +165,7 @@
|
||||||
<VisualStudioManifestProjects Include="Microsoft.NET.vsmanproj" />
|
<VisualStudioManifestProjects Include="Microsoft.NET.vsmanproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<MSBuild Projects="@(VisualStudioManifestProjects)" BuildInParallel="true" Properties="SwixBuildTargets=$(SwixBuildTargets);ManifestOutputPath=$(VisualStudioSetupInsertionPath);OutputPath=$(VisualStudioSetupInsertionPath)" />
|
<MSBuild Projects="@(VisualStudioManifestProjects)" BuildInParallel="true" Properties="SwixBuildTargets=$(SwixBuildTargets);ManifestOutputPath=$(VersionedVisualStudioSetupInsertionPath);OutputPath=$(VersionedVisualStudioSetupInsertionPath)" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="GenerateVersions">
|
<Target Name="GenerateVersions">
|
||||||
|
|
Loading…
Reference in a new issue