Skip to content

Commit dbfa5a0

Browse files
jkoritzinskyRussKie
authored andcommitted
Convert ref and runtime packs to use the SharedFramework SDK and Arcade's installer tooling (#58612)
* Add an sfxproj for the ref pack for Microsoft.AspNetCore.App. IT has the same contents except for some simplification of the analyzer layout and the PlatformManifest (which will be implemented correctly as part converting the runtime pack) * Add sfxproj-based runtime framework project * Produce the targeting pack archives * Build the runtime archive. There's some extra rebuilding now, so need to look into that. * Add a (mostly correct, some TODOs) composite runtime image and archive. * Use traversal projects to ensure that building the runtime archive projects directly restores the sfxprojs. * Add the new .deb packaging to the targeting pack * Add the aspnetcore runtime deb package to the sfxproj * Enable building RPM packages * Publish from the new-style projects to the correct subfolders for consuming projects to pick up. * Remove a TODO that's being addressed * Add support for partial R2R rooting based on dotnet/sdk#44436 * Reuse global properties and remove TODO addresed in corresponding Arcade PR. * Replace old shared framework projects and Linux installers with the new sfxproj and archive-based projects * Remove the NoTargets SDK, ended up using the Traversal SDK instead. * Fix path to runtime pack for manifest * Don't reference the installers package on Windows. We don't want to build MSIs with this tooling (yet) * Fix reference from aspnetcore-runtime and sequence the projects into the build better * Profive projects to build when only -buildinstallers is passed. This ensures we don't try to build AspNetCore.sln * Fix the path of the runtime list for testing. * Set property with file name * Disable APICompat for the archive projects. * Fix expected output directory for deb/rpm/targz/zip to be the shipping packages output. * Fix including zips (as wixpacks are still in the intsallers folder) * Build the shared frameworks via the transitive SDK proj only and make the native project references "just work" without a separate target. * Add PGO data via direct references to the MIBC files instead of flowing them through a different manner (that doesn't work) * Don't exclude the runtime archive traversal proj from the source-only build. * Add some makedirs * Don't try to extract the runtime we skipped downloading * Always prefer the ref assemblies in the transport pack over the impl assemblies when building the ref pack. * Add the right PackageOverrides.txt entries and make sure we exclude analyzers from the expected PackageOverrides list (they aren't supposed to be there) * Enable building all projects using the sharedfx sdk in source-build * Don't exclude the composite archive from source build. * Write out the aspnetcore_base_runtime.version file * Update aspnetcore-base-runtime.proj * Don't R2R when explicitly requested not to * Update .NET SDK to get composite image fix * Use the new RPM tooling and build debs/rpms in the regular build step (instead of as separate steps) * Remove rpmpkg references and update ref pack baseline version * Fix version string * Remove installers group on Build.props as the "managed" build will now correctly trigger debs/rpms when requested * Use Arcade RPM tooling for the Runtime sfxproj * Revert "Update .NET SDK to get composite image fix" This reverts commit b1b144d. * Don't pack the ref pack when only packing rid-specific packages * Remove RpmOwnedDirectory items as they're now provided by the SharedFramework SDK. * Don't build installers in source-build * Pass linux installer/archive artifacts over to the signing jobs * Don't publish the unsigned build if we're not doing post-build signing. We'll publish from the signing job. * Bulid installers on Linux-arm64 * Set the InstallerPackageDescription property to also set the description for installers (after dotnet/arcade#15308 flows) --------- Co-authored-by: Igor Velikorossov <[email protected]>
1 parent 7dad963 commit dbfa5a0

File tree

79 files changed

+751
-3797
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+751
-3797
lines changed

.azure/pipelines/ci-public.yml

+2-56
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,6 @@ variables:
7979
value: true
8080
- template: /eng/common/templates/variables/pool-providers.yml
8181

82-
resources:
83-
containers:
84-
- container: debpkg
85-
image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-debpkg
86-
87-
- container: rpmpkg
88-
image: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-fpm
89-
9082
stages:
9183
- stage: build
9284
displayName: Build
@@ -313,43 +305,13 @@ stages:
313305
--ci
314306
--arch x64
315307
--pack
308+
--build-installers
316309
--all
317310
--no-build-java
318311
-p:OnlyPackPlatformSpecificPackages=true
319312
$(_BuildArgs)
320313
$(_InternalRuntimeDownloadArgs)
321314
displayName: Run build.sh
322-
- script: ./eng/build.sh
323-
--ci
324-
--nobl
325-
--arch x64
326-
--build-installers
327-
--no-build-deps
328-
--no-build-nodejs
329-
-p:OnlyPackPlatformSpecificPackages=true
330-
-p:BuildRuntimeArchive=false
331-
-p:LinuxInstallerType=deb
332-
$(_BuildArgs)
333-
$(_InternalRuntimeDownloadArgs)
334-
displayName: Build Debian installers
335-
target: debpkg
336-
- script: ./eng/build.sh
337-
--ci
338-
--nobl
339-
--arch x64
340-
--build-installers
341-
--no-build-deps
342-
--no-build-nodejs
343-
--publish
344-
-p:OnlyPackPlatformSpecificPackages=true
345-
-p:BuildRuntimeArchive=false
346-
-p:LinuxInstallerType=rpm
347-
-p:AssetManifestFileName=aspnetcore-Linux_x64.xml
348-
$(_BuildArgs)
349-
$(_PublishArgs)
350-
$(_InternalRuntimeDownloadArgs)
351-
displayName: Build RPM installers
352-
target: rpmpkg
353315
artifacts:
354316
- name: Linux_x64_Logs_Attempt_$(System.JobAttempt)
355317
path: artifacts/log/
@@ -404,29 +366,13 @@ stages:
404366
--ci
405367
--arch arm64
406368
--pack
369+
--build-installers
407370
--all
408371
--no-build-java
409372
-p:OnlyPackPlatformSpecificPackages=true
410373
$(_BuildArgs)
411374
$(_InternalRuntimeDownloadArgs)
412375
displayName: Run build.sh
413-
- script: ./eng/build.sh
414-
--ci
415-
--nobl
416-
--arch arm64
417-
--build-installers
418-
--no-build-deps
419-
--no-build-nodejs
420-
--publish
421-
-p:OnlyPackPlatformSpecificPackages=true
422-
-p:BuildRuntimeArchive=false
423-
-p:LinuxInstallerType=rpm
424-
-p:AssetManifestFileName=aspnetcore-Linux_arm64.xml
425-
$(_BuildArgs)
426-
$(_PublishArgs)
427-
$(_InternalRuntimeDownloadArgs)
428-
displayName: Build RPM installers
429-
target: rpmpkg
430376
artifacts:
431377
- name: Linux_arm64_Logs_Attempt_$(System.JobAttempt)
432378
path: artifacts/log/

.azure/pipelines/ci.yml

+28-82
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,13 @@ variables:
3838
- ${{ if or(startswith(variables['Build.SourceBranch'], 'refs/heads/release/'), startswith(variables['Build.SourceBranch'], 'refs/heads/internal/release/'), eq(variables['Build.Reason'], 'Manual')) }}:
3939
- name: PostBuildSign
4040
value: false
41+
- name: _ArcadePublishNonWindowsArg
42+
value: ''
4143
- ${{ else }}:
4244
- name: PostBuildSign
4345
value: true
46+
- name: _ArcadePublishNonWindowsArg
47+
value: --publish
4448
- name: _UseHelixOpenQueues
4549
value: ${{ ne(variables['System.TeamProject'], 'internal') }}
4650
- ${{ if and(notin(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.SourceBranch'], 'refs/heads/main')) }}:
@@ -99,12 +103,6 @@ variables:
99103
- template: /eng/common/templates-official/variables/pool-providers.yml@self
100104

101105
resources:
102-
containers:
103-
- container: debpkg
104-
image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-debpkg
105-
106-
- container: rpmpkg
107-
image: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-fpm
108106
repositories:
109107
# Repo: 1ESPipelineTemplates/1ESPipelineTemplates
110108
- repository: 1esPipelines
@@ -299,7 +297,7 @@ extends:
299297
--pack
300298
--all
301299
--no-build-java
302-
--publish
300+
$(_ArcadePublishNonWindowsArg)
303301
-p:OnlyPackPlatformSpecificPackages=true
304302
-p:AssetManifestFileName=aspnetcore-MacOS_arm64.xml
305303
$(_BuildArgs)
@@ -329,7 +327,7 @@ extends:
329327
--pack
330328
--all
331329
--no-build-java
332-
--publish
330+
$(_ArcadePublishNonWindowsArg)
333331
-p:OnlyPackPlatformSpecificPackages=true
334332
-p:AssetManifestFileName=aspnetcore-MacOS_x64.xml
335333
$(_BuildArgs)
@@ -355,48 +353,15 @@ extends:
355353
jobDisplayName: "Build: Linux x64"
356354
agentOs: Linux
357355
useHostedUbuntu: false
358-
steps:
359-
- script: ./eng/build.sh
360-
--ci
361-
--arch x64
362-
--pack
363-
--all
364-
--no-build-java
365-
-p:OnlyPackPlatformSpecificPackages=true
366-
$(_BuildArgs)
367-
$(_InternalRuntimeDownloadArgs)
368-
displayName: Run build.sh
369-
- script: ./eng/build.sh
370-
--ci
371-
--nobl
372-
--arch x64
373-
--build-installers
374-
--no-build-deps
375-
--no-build-nodejs
376-
-p:OnlyPackPlatformSpecificPackages=true
377-
-p:BuildRuntimeArchive=false
378-
-p:LinuxInstallerType=deb
379-
$(_BuildArgs)
380-
$(_InternalRuntimeDownloadArgs)
381-
displayName: Build Debian installers
382-
target: debpkg
383-
- script: ./eng/build.sh
384-
--ci
385-
--nobl
386-
--arch x64
387-
--build-installers
388-
--no-build-deps
389-
--no-build-nodejs
390-
--publish
391-
-p:OnlyPackPlatformSpecificPackages=true
392-
-p:BuildRuntimeArchive=false
393-
-p:LinuxInstallerType=rpm
394-
-p:AssetManifestFileName=aspnetcore-Linux_x64.xml
395-
$(_BuildArgs)
396-
$(_PublishArgs)
397-
$(_InternalRuntimeDownloadArgs)
398-
displayName: Build RPM installers
399-
target: rpmpkg
356+
buildArgs:
357+
--arch x64
358+
--pack
359+
--all
360+
--build-installers
361+
--no-build-java
362+
-p:OnlyPackPlatformSpecificPackages=true
363+
$(_BuildArgs)
364+
$(_InternalRuntimeDownloadArgs)
400365
artifacts:
401366
- name: Linux_x64_Logs_Attempt_$(System.JobAttempt)
402367
path: artifacts/log/
@@ -421,7 +386,7 @@ extends:
421386
--pack
422387
--all
423388
--no-build-java
424-
--publish
389+
$(_ArcadePublishNonWindowsArg)
425390
-p:OnlyPackPlatformSpecificPackages=true
426391
-p:AssetManifestFileName=aspnetcore-Linux_arm.xml
427392
$(_BuildArgs)
@@ -446,34 +411,15 @@ extends:
446411
jobName: Linux_arm64_build
447412
jobDisplayName: "Build: Linux ARM64"
448413
agentOs: Linux
449-
steps:
450-
- script: ./eng/build.sh
451-
--ci
452-
--arch arm64
453-
--pack
454-
--all
455-
--no-build-java
456-
-p:OnlyPackPlatformSpecificPackages=true
457-
$(_BuildArgs)
458-
$(_InternalRuntimeDownloadArgs)
459-
displayName: Run build.sh
460-
- script: ./eng/build.sh
461-
--ci
462-
--nobl
463-
--arch arm64
464-
--build-installers
465-
--no-build-deps
466-
--no-build-nodejs
467-
--publish
468-
-p:OnlyPackPlatformSpecificPackages=true
469-
-p:BuildRuntimeArchive=false
470-
-p:LinuxInstallerType=rpm
471-
-p:AssetManifestFileName=aspnetcore-Linux_arm64.xml
472-
$(_BuildArgs)
473-
$(_PublishArgs)
474-
$(_InternalRuntimeDownloadArgs)
475-
displayName: Build RPM installers
476-
target: rpmpkg
414+
buildArgs:
415+
--arch arm64
416+
--pack
417+
--all
418+
--build-installers
419+
--no-build-java
420+
-p:OnlyPackPlatformSpecificPackages=true
421+
$(_BuildArgs)
422+
$(_InternalRuntimeDownloadArgs)
477423
artifacts:
478424
- name: Linux_arm64_Logs_Attempt_$(System.JobAttempt)
479425
path: artifacts/log/
@@ -500,7 +446,7 @@ extends:
500446
--pack
501447
--all
502448
--no-build-java
503-
--publish
449+
$(_ArcadePublishNonWindowsArg)
504450
-p:OnlyPackPlatformSpecificPackages=true
505451
-p:AssetManifestFileName=aspnetcore-Linux_musl_x64.xml
506452
$(_BuildArgs)
@@ -534,7 +480,7 @@ extends:
534480
--pack
535481
--all
536482
--no-build-java
537-
--publish
483+
$(_ArcadePublishNonWindowsArg)
538484
-p:OnlyPackPlatformSpecificPackages=true
539485
-p:AssetManifestFileName=aspnetcore-Linux_musl_arm.xml
540486
$(_BuildArgs)
@@ -567,7 +513,7 @@ extends:
567513
--pack
568514
--all
569515
--no-build-java
570-
--publish
516+
$(_ArcadePublishNonWindowsArg)
571517
-p:OnlyPackPlatformSpecificPackages=true
572518
-p:AssetManifestFileName=aspnetcore-Linux_musl_arm64.xml
573519
$(_BuildArgs)

.azure/pipelines/jobs/codesign-xplat.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,20 @@ jobs:
1919
inputs:
2020
artifactName: ${{ parameters.inputName }}_Packages
2121
downloadPath: $(Build.StagingDirectory)/downloaded_packages/
22-
itemPattern: '**/*.nupkg'
22+
itemPattern: |
23+
**/*.nupkg
24+
**/*.tar.gz
25+
**/*.deb
26+
**/*.rpm
2327
- task: CopyFiles@2
2428
displayName: Copy packages to ArtifactsShippingPackagesDir
2529
inputs:
2630
sourceFolder: $(Build.StagingDirectory)/downloaded_packages/
27-
contents: '**/*.nupkg'
31+
contents: |
32+
**/*.nupkg
33+
**/*.tar.gz
34+
**/*.deb
35+
**/*.rpm
2836
targetFolder: $(Build.SourcesDirectory)/artifacts/packages/$(BuildConfiguration)/shipping/
2937
flattenFolders: true
3038
- powershell: .\eng\common\build.ps1

AspNetCore.sln

+2-2
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Framework", "Framework", "{
972972
EndProject
973973
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "App.Runtime", "App.Runtime", "{F1A6BA04-853E-43B5-B27E-54558603837B}"
974974
EndProject
975-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.App.Runtime", "src\Framework\App.Runtime\src\Microsoft.AspNetCore.App.Runtime.csproj", "{3163C56E-99BC-4BD1-8880-4F94A2407741}"
975+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.App.Runtime", "src\Framework\App.Runtime\src\Microsoft.AspNetCore.App.Runtime.sfxproj", "{3163C56E-99BC-4BD1-8880-4F94A2407741}"
976976
EndProject
977977
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Razor.Test", "src\Razor\Razor\test\Microsoft.AspNetCore.Razor.Test.csproj", "{776BFCDC-8591-4E3D-BD0D-858A188A033D}"
978978
EndProject
@@ -1354,7 +1354,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Extensions.FilePr
13541354
EndProject
13551355
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Extensions.FileProviders.Embedded.Tests", "src\FileProviders\Embedded\test\Microsoft.Extensions.FileProviders.Embedded.Tests.csproj", "{B06ADD57-E855-4D8C-85DC-B323509AE540}"
13561356
EndProject
1357-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.App.Ref", "src\Framework\App.Ref\src\Microsoft.AspNetCore.App.Ref.csproj", "{BAD47859-95DF-4C8F-9AF7-C48B68F478A1}"
1357+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.App.Ref", "src\Framework\App.Ref\src\Microsoft.AspNetCore.App.Ref.sfxproj", "{BAD47859-95DF-4C8F-9AF7-C48B68F478A1}"
13581358
EndProject
13591359
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.App.UnitTests", "src\Framework\test\Microsoft.AspNetCore.App.UnitTests.csproj", "{010A9638-F20E-4FE6-A186-85732BFC9CB0}"
13601360
EndProject

Directory.Build.BeforeCommonTargets.targets

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Condition="'$(ExcludeFromSourceOnlyBuild)' == '' and
77
'$(DotNetBuildSourceOnly)' == 'true' and
88
'$(IsAspNetCoreApp)' != 'true' and
9-
'$(MSBuildProjectName)' != '$(TargetingPackName)' and
9+
'$(UsingMicrosoftDotNetSharedFrameworkSdk)' != 'true' and
1010
'$(IsAnalyzersProject)' != 'true' and
1111
'$(IsProjectTemplateProject)' != 'true'">true</ExcludeFromSourceOnlyBuild>
1212

Directory.Build.targets

+1
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@
180180
<Import Project="eng\targets\FSharp.Common.targets" Condition="'$(MSBuildProjectExtension)' == '.fsproj'" />
181181
<Import Project="eng\targets\Wix.Common.targets" Condition="'$(MSBuildProjectExtension)' == '.wixproj'" />
182182
<Import Project="eng\targets\Java.Common.targets" Condition="'$(MSBuildProjectExtension)' == '.javaproj'" />
183+
<Import Project="eng\targets\Sfx.Common.targets" Condition="'$(MSBuildProjectExtension)' == '.sfxproj'" />
183184
<Import Project="eng\testing\linker\trimmingTests.targets" Condition="'$(IsPublishedAppTestProject)' == 'true'" />
184185
<Import Project="eng\targets\Helix.targets" Condition=" $(IsTestProject) " />
185186
<Import Project="eng\targets\FunctionalTestWithAssets.targets"

eng/Build.props

+4-1
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,11 @@
115115
the entire pattern will silently fail to evaluate correctly.
116116
-->
117117
<DotNetProjects Include="
118-
$(RepoRoot)src\Framework\App.Ref\src\Microsoft.AspNetCore.App.Ref.csproj;
118+
$(RepoRoot)src\Framework\App.Ref\src\Microsoft.AspNetCore.App.Ref.sfxproj;
119119
$(RepoRoot)src\Framework\App.Ref.Internal\src\Microsoft.AspNetCore.App.Ref.Internal.csproj;
120+
$(RepoRoot)src\Framework\App.Runtime\src\aspnetcore-runtime.proj;
121+
$(RepoRoot)src\Framework\App.Runtime\src\aspnetcore-runtime-composite.proj;
122+
$(RepoRoot)src\Framework\App.Runtime\src\aspnetcore-base-runtime.proj;
120123
$(RepoRoot)src\Framework\AspNetCoreAnalyzers\test\Microsoft.AspNetCore.App.Analyzers.Test.csproj;
121124
$(RepoRoot)src\Framework\test\Microsoft.AspNetCore.App.UnitTests.csproj;
122125
$(RepoRoot)src\Assets\**\*.*proj;

eng/DotNetBuild.props

-3
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,9 @@
7878
<!--
7979
Add the internal installers artifacts required by dotnet/installer.
8080
-->
81-
<IntermediateNupkgArtifactFile Include="$(InstallersArtifactsDir)aspnetcore-runtime-*.tar.gz" />
8281
<IntermediateNupkgArtifactFile Include="$(InstallersArtifactsDir)aspnetcore_base_runtime.version" />
8382
<IntermediateNupkgArtifactFile Include="$(InstallersArtifactsDir)aspnetcore-runtime-*.msi" />
8483
<IntermediateNupkgArtifactFile Include="$(InstallersArtifactsDir)aspnetcore-runtime-*.pkg" />
85-
<IntermediateNupkgArtifactFile Include="$(InstallersArtifactsDir)aspnetcore-runtime-*.deb" />
86-
<IntermediateNupkgArtifactFile Include="$(InstallersArtifactsDir)aspnetcore-runtime-*.rpm" />
8784
</ItemGroup>
8885
</Target>
8986

eng/Publishing.props

+7-5
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
'$(PostBuildSign)' != 'true' and
1313
'$(DotNetBuildRepo)' != 'true'">false</EnableDefaultArtifacts>
1414

15-
<PublishInstallerBaseVersion Condition="'$(PublishInstallerBaseVersion)' == '' and
15+
<PublishInstallerBaseVersion Condition="'$(PublishInstallerBaseVersion)' == '' and
1616
('$(OS)' == 'Windows_NT' or '$(DotNetBuildOrchestrator)' == 'true')">true</PublishInstallerBaseVersion>
1717
<!-- This avoids creating VS.*.symbols.nupkg packages that are identical to the original package. -->
1818
<AutoGenerateSymbolPackages>false</AutoGenerateSymbolPackages>
@@ -31,13 +31,15 @@
3131
<_InstallersToPublish Include="$(ArtifactsDir)installers\**\*.version" UploadPathSegment="Runtime" Condition="'$(PublishInstallerBaseVersion)' == 'true'" />
3232

3333
<!-- The following installers create checksums -->
34-
<_InstallersToPublish Include="$(ArtifactsDir)installers\**\*.deb" UploadPathSegment="Runtime" ChecksumPath="%(FullPath).sha512" />
34+
<_InstallersToPublish Include="$(ArtifactsDir)packages\**\*.deb" UploadPathSegment="Runtime" ChecksumPath="%(FullPath).sha512" />
35+
<_InstallersToPublish Include="$(ArtifactsDir)packages\**\*.rpm" UploadPathSegment="Runtime" ChecksumPath="%(FullPath).sha512" />
36+
<_InstallersToPublish Include="$(ArtifactsDir)packages\**\*.tar.gz" UploadPathSegment="Runtime" ChecksumPath="%(FullPath).sha512" />
37+
<_InstallersToPublish Include="$(ArtifactsDir)packages\**\*.zip" UploadPathSegment="Runtime" />
38+
3539
<_InstallersToPublish Include="$(ArtifactsDir)installers\**\*.exe" UploadPathSegment="Runtime" ChecksumPath="%(FullPath).sha512" />
3640
<_InstallersToPublish Include="$(ArtifactsDir)installers\**\*.msi" UploadPathSegment="Runtime" ChecksumPath="%(FullPath).sha512" />
37-
<_InstallersToPublish Include="$(ArtifactsDir)installers\**\*.rpm" UploadPathSegment="Runtime" ChecksumPath="%(FullPath).sha512" />
38-
<_InstallersToPublish Include="$(ArtifactsDir)installers\**\*.tar.gz" UploadPathSegment="Runtime" ChecksumPath="%(FullPath).sha512" />
3941
<_InstallersToPublish Include="$(ArtifactsDir)installers\**\*.wixlib" UploadPathSegment="Runtime" ChecksumPath="%(FullPath).sha512" />
40-
<_InstallersToPublish Include="$(ArtifactsDir)installers\**\*.zip" UploadPathSegment="Runtime" >
42+
<_InstallersToPublish Include="$(ArtifactsDir)installers\**\*.zip" UploadPathSegment="Runtime">
4143
<!-- Exclude wixpack.zip files from checksum generation -->
4244
<ChecksumPath Condition="$([System.String]::Copy('%(Filename)%(Extension)').EndsWith('.wixpack.zip')) != 'true'">%(FullPath).sha512</ChecksumPath>
4345
</_InstallersToPublish>

eng/Signing.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<CommonFilesToSign Include="$(ArtifactsPackagesDir)**\*.nupkg" />
2020
<CommonFilesToSign Include="$(VisualStudioSetupOutputPath)**\*.vsix" />
2121
<CommonFilesToSign Include="$(ArtifactsPackagesDir)**\*.jar" />
22-
<CommonFilesToSign Include="$(ArtifactsDir)installers\$(Configuration)\**\*.zip" />
22+
<CommonFilesToSign Include="$(ArtifactsDir)packages\$(Configuration)\**\*.zip" />
2323
<CommonFilesToSign Remove="$(ArtifactsDir)installers\$(Configuration)\**\*.wixpack.zip" Condition="'$(PostBuildSign)' != 'true'" />
2424
</ItemGroup>
2525
<Choose>

0 commit comments

Comments
 (0)