-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert ref and runtime packs to use the SharedFramework SDK and Arcade's installer tooling #58612
base: main
Are you sure you want to change the base?
Conversation
…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)
… to look into that.
…ojects directly restores the sfxprojs.
…suming projects to pick up.
…ew sfxproj and archive-based projects
…uild MSIs with this tooling (yet)
…ensures we don't try to build AspNetCore.sln
…g packages output.
Whoa, awesome! Feel free to ping me on Teams if/when you want me to take a look |
… the native project references "just work" without a separate target.
…nto sfx-aspnetcore
This reverts commit b1b144d.
33d9c16
to
1f1faf6
Compare
@jkoritzinsky do you plan to touch this code path as well? aspnetcore/src/Installers/Windows/Wix.targets Lines 33 to 43 in 5278d28
The hardcodes there are problematic and shouldn't exist at all. But before someone fixing this (by just using proper PackageReference) I wanted to double check if you intend to change this. |
I was going to handle messing with any Wix installers in a different PR (as I'm less confident in getting the upgrade codes and things right). |
@@ -31,13 +31,15 @@ | |||
<_InstallersToPublish Include="$(ArtifactsDir)installers\**\*.version" UploadPathSegment="Runtime" Condition="'$(PublishInstallerBaseVersion)' == 'true'" /> | |||
|
|||
<!-- The following installers create checksums --> | |||
<_InstallersToPublish Include="$(ArtifactsDir)installers\**\*.deb" UploadPathSegment="Runtime" ChecksumPath="%(FullPath).sha512" /> | |||
<_InstallersToPublish Include="$(ArtifactsDir)packages\**\*.deb" UploadPathSegment="Runtime" ChecksumPath="%(FullPath).sha512" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it the common pattern to publish installers to the packages
dir?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, dotnet/runtime and dotnet/windowsdesktop publish all installers to the packages
dir.
"Microsoft.DotNet.Helix.Sdk": "10.0.0-beta.24560.1" | ||
"Microsoft.DotNet.Helix.Sdk": "10.0.0-beta.24560.1", | ||
"Microsoft.DotNet.SharedFramework.Sdk" : "10.0.0-beta.24560.1", | ||
"Microsoft.Build.NoTargets": "3.7.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why these versions/when should we update them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are the versions used by dotnet/runtime today. I believe they're the newest versions. We generally try to update them when new versions come out, but we don't have a regular cadence.
@@ -0,0 +1,66 @@ | |||
<Project Sdk="Microsoft.Build.Traversal"> | |||
<PropertyGroup> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the purpose of this proj?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This project builds an archive containing the .NET runtime and the ASP.NET Core runtime with the Composite ReadyToRun image (which is used in some of our docker images).
Can you run an internal build of this branch so we can inspect the produced SharedFx/Targeting packs packages/installers? |
According to the official build, the targeting pack project is built and published from multiple legs:
|
Failures in the |
Looks like this PR hasn't been active for some time and the codebase could have been changed in the meantime. |
Convert ref and runtime packs to use the SharedFramework SDK and Arcade's installer tooling (for Linux installers)
Replace the custom infrastructure in ASP.NET Core for building shared frameworks, .debs, and .rpms with the Arcade infrastructure
Description
Replace the custom infrastructure in this repo with the Arcade infrastructure. This provides a number of benefits:
Fixes #48013
Fixes #49486
Fixes #58073
Contributes to dotnet/source-build#3986
Depends on dotnet/arcade#15200
Depends on an SDK with dotnet/sdk#44436 (#58862)
Depends on dotnet/runtime#109169Replaces #58600
Depends on dotnet/arcade#15208
Depends on dotnet/arcade#15209
Depends on #58934