Skip to content

Commit bef5823

Browse files
authored
Fix handling publishing cross-arch pack packages (#15678)
1 parent d66a7cf commit bef5823

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Microsoft.DotNet.Arcade.Sdk/tools/Publish.proj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,12 @@
114114
Integration with Microsoft.DotNet.Build.Tasks.Installers: Publish packages of the following formats as well.
115115
These are arch-specific Visual Studio insertion packages. As they're Windows-only, they only include architecture in the name:
116116
- VS.Redist.Common.*.$(TargetArchitecture).*.nupkg
117-
- VS.Redist.Common.*.$(TargetArchitecture)-*.*.nupkg
117+
- VS.Redist.Common.*.*_$(TargetArchitecture).*.nupkg
118118
119119
These packages are always non-shipping, so only look there.
120120
-->
121121
<Artifact Include="$(ArtifactsNonShippingPackagesDir)**/VS.Redist.Common.*.$(TargetArchitecture).*.nupkg" IsShipping="false" Kind="Package" />
122-
<Artifact Include="$(ArtifactsNonShippingPackagesDir)**/VS.Redist.Common.*.$(TargetArchitecture)-*.*.nupkg" IsShipping="false" Kind="Package" />
122+
<Artifact Include="$(ArtifactsNonShippingPackagesDir)**/VS.Redist.Common.*.*_$(TargetArchitecture).*.nupkg" IsShipping="false" Kind="Package" />
123123

124124
<!--
125125
In the VMR, don't publish packages that didn't match the above conditions externally.

0 commit comments

Comments
 (0)