Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Commit 9c1afca

Browse files
authored
Merge pull request #10021 from johnbeisner/ProdConNonSuffixFollowUp
Always use the suffixed version for the 'VS' NuPkgs
2 parents 382c18c + 5f1cad1 commit 9c1afca

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed

build/Publish.targets

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,9 @@
4949
Condition=" '$(OS)' == 'Windows_NT' And '$(Architecture)' == 'x64' " />
5050
<ForPublishing Include="$(PackagesDirectory)/runtime.*.Microsoft.DotNet.SDK.*.symbols.nupkg" />
5151
<ForPublishing Include="$(PackagesDirectory)/VS.Redist.Common.Net.Core.SDK.$(Architecture).*.nupkg"
52-
Condition=" '$(OS)' == 'Windows_NT' ">
53-
<ManifestArtifactData>NonShipping=true</ManifestArtifactData>
54-
</ForPublishing>
52+
Condition=" '$(OS)' == 'Windows_NT' "/>
5553
<ForPublishing Include="$(PackagesDirectory)/VS.Redist.Common.Net.Core.SDK.MSBuildExtensions.*.nupkg"
56-
Condition=" '$(OS)' == 'Windows_NT' And '$(Architecture)' == 'x64' ">
57-
<ManifestArtifactData>NonShipping=true</ManifestArtifactData>
58-
</ForPublishing>
54+
Condition=" '$(OS)' == 'Windows_NT' And '$(Architecture)' == 'x64' "/>
5955
<ForPublishing Include="$(PackagesDirectory)/VS.Redist.Common.Net.Core.SDK.MSBuildExtensions.swr"
6056
Condition=" '$(OS)' == 'Windows_NT' And '$(Architecture)' == 'x64' "/>
6157
<ForPublishing Include="$(PackagesDirectory)/nuGetPackagesArchive.lzma"

build/Version.props

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515

1616
<VersionSuffix Condition=" '$(DropSuffix)' != 'true' ">$(ReleaseSuffix)-$(CommitCount)</VersionSuffix>
1717

18-
<FullNugetVersion>$(CliVersionNoSuffix)-$(ReleaseSuffix)-$(CommitCount)</FullNugetVersion>
18+
<SuffixedNugetVersion>$(CliVersionNoSuffix)-$(ReleaseSuffix)-$(CommitCount)</SuffixedNugetVersion>
19+
<FullNugetVersion Condition=" '$(FullNugetVersion)' == '' ">$(SuffixedNugetVersion)</FullNugetVersion>
1920

2021
<NugetVersion Condition=" '$(DropSuffix)' != 'true' ">$(FullNugetVersion)</NugetVersion>
2122
<NugetVersion Condition=" '$(NugetVersion)' == '' ">$(CliVersionNoSuffix)</NugetVersion>

build/package/Installer.MSI.targets

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
<MSBuildExtensionsGenerateMsiPowershellScript>$(RepoRoot)/packaging/windows/msbuildextensions/generatemsi.ps1</MSBuildExtensionsGenerateMsiPowershellScript>
2222

2323
<SdkInstallerNuspecFile>$(RepoRoot)/packaging/windows/clisdk/VS.Redist.Common.Net.Core.SDK.$(Architecture).nuspec</SdkInstallerNuspecFile>
24-
<SdkInstallerNupkgFile>$(InstallerOutputDirectory)/VS.Redist.Common.Net.Core.SDK.$(Architecture).$(FullNugetVersion).nupkg</SdkInstallerNupkgFile>
24+
<SdkInstallerNupkgFile>$(InstallerOutputDirectory)/VS.Redist.Common.Net.Core.SDK.$(Architecture).$(SuffixedNugetVersion).nupkg</SdkInstallerNupkgFile>
2525

2626
<SdkMSBuildExtensionsNuspecFile>$(RepoRoot)/packaging/windows/clisdk/VS.Redist.Common.Net.Core.SDK.MSBuildExtensions.nuspec</SdkMSBuildExtensionsNuspecFile>
27-
<SdkMSBuildExtensionsNupkgFile>$(InstallerOutputDirectory)/VS.Redist.Common.Net.Core.SDK.MSBuildExtensions.$(FullNugetVersion).nupkg</SdkMSBuildExtensionsNupkgFile>
27+
<SdkMSBuildExtensionsNupkgFile>$(InstallerOutputDirectory)/VS.Redist.Common.Net.Core.SDK.MSBuildExtensions.$(SuffixedNugetVersion).nupkg</SdkMSBuildExtensionsNupkgFile>
2828
<SdkMSBuildExtensionsSwrFile>$(InstallerOutputDirectory)/VS.Redist.Common.Net.Core.SDK.MSBuildExtensions.swr</SdkMSBuildExtensionsSwrFile>
2929
</PropertyGroup>
3030

@@ -172,7 +172,7 @@
172172

173173
<Exec Command="powershell -NoProfile -NoLogo $(SdkGenerateNupkgPowershellScript)
174174
'$(CombinedFrameworkSdkHostInstallerFile)'
175-
'$(FullNugetVersion)'
175+
'$(SuffixedNugetVersion)'
176176
'$(SdkInstallerNuspecFile)'
177177
'$(SdkInstallerNupkgFile)'" />
178178
</Target>
@@ -187,7 +187,7 @@
187187

188188
<Exec Command="powershell -NoProfile -NoLogo $(SdkGenerateNupkgPowershellScript)
189189
'$(MSBuildExtensionsLayoutDirectory)'
190-
'$(FullNugetVersion)'
190+
'$(SuffixedNugetVersion)'
191191
'$(SdkMSBuildExtensionsNuspecFile)'
192192
'$(SdkMSBuildExtensionsNupkgFile)'" />
193193

0 commit comments

Comments
 (0)