Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
[release/2.1] Always build VS insertion packages as prerelease (#8989)
Browse files Browse the repository at this point in the history
* Always build VS insertion packages as prerelease

* Fix VSInsertionVersionSuffix => VSInsertionVersion

Improper naming, it's the full version, not a suffix.
  • Loading branch information
dagood authored Mar 26, 2020
1 parent a4fa713 commit a4296bf
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/pkg/packaging/dir.proj
Original file line number Diff line number Diff line change
Expand Up @@ -210,25 +210,31 @@
<NuSpecFile>$(MSBuildThisFileDirectory)windows/vscomponents/VS.Redist.Common.Component.nuspec</NuSpecFile>
<GenerateNupkgPowershellScript>$(MSBuildThisFileDirectory)windows/vscomponents/generatenupkg.ps1</GenerateNupkgPowershellScript>
<ProjectUrl>https://github.com/dotnet/core-setup</ProjectUrl>
<!--
Always build VS insertion packages with non-stable version. Ensures uniqueness for each
build, even if building stable multiple times in a row. Necessary because these are
published to an immutable feed before release day.
-->
<VSInsertionVersion>$(ProductionVersion)-$(PreReleaseLabel)-$(BuildNumberMajor)-$(BuildNumberMinor)</VSInsertionVersion>
</PropertyGroup>

<ItemGroup>
<SdkMsiComponent Include="HostFxrMsiNupkg">
<MsiInstallerFile>$(HostFxrInstallerFile)</MsiInstallerFile>
<ComponentId>VS.Redist.Common.NetCore.HostFXR.$(TargetArchitecture).$(NETCoreAppFrameworkVersion)</ComponentId>
<ComponentVersion>$(SharedFrameworkNugetVersion)</ComponentVersion>
<ComponentVersion>$(VSInsertionVersion)</ComponentVersion>
<ComponentFriendlyName>$(NETCoreAppFrameworkVersion) .NET Core HostFX Resolver</ComponentFriendlyName>
</SdkMsiComponent>
<SdkMsiComponent Include="SharedFrameworkMsiNupkg">
<MsiInstallerFile>$(SharedFrameworkInstallerFile)</MsiInstallerFile>
<ComponentId>VS.Redist.Common.NetCore.SharedFramework.$(TargetArchitecture).$(NETCoreAppFrameworkVersion)</ComponentId>
<ComponentVersion>$(SharedFrameworkNugetVersion)</ComponentVersion>
<ComponentVersion>$(VSInsertionVersion)</ComponentVersion>
<ComponentFriendlyName>$(NETCoreAppFrameworkVersion) .NET Core SharedFramework</ComponentFriendlyName>
</SdkMsiComponent>
<SdkMsiComponent Include="SharedHostMsiNupkg">
<MsiInstallerFile>$(SharedHostInstallerFile)</MsiInstallerFile>
<ComponentId>VS.Redist.Common.NetCore.SharedHost.$(TargetArchitecture).$(NETCoreAppFrameworkVersion)</ComponentId>
<ComponentVersion>$(SharedFrameworkNugetVersion)</ComponentVersion>
<ComponentVersion>$(VSInsertionVersion)</ComponentVersion>
<ComponentFriendlyName>$(NETCoreAppFrameworkVersion) .NET Core SharedHost</ComponentFriendlyName>
</SdkMsiComponent>
</ItemGroup>
Expand Down

0 comments on commit a4296bf

Please sign in to comment.