-
Notifications
You must be signed in to change notification settings - Fork 6k
Update distribution-packaging.md #46910
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
Open
jkoritzinsky
wants to merge
2
commits into
main
Choose a base branch
from
jkoritzinsky-patch-1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ When installed, .NET consists of several components that are laid out as follows | |
│ └── <sdk version> (3) | ||
├── sdk-manifests (4) (*) | ||
│ └── <sdk feature band version> | ||
├── library-packs (20) (*) | ||
├── library-packs (21) (*) | ||
├── metadata (4) (*) | ||
│ └── workloads | ||
│ └── <sdk feature band version> | ||
|
@@ -49,6 +49,8 @@ When installed, .NET consists of several components that are laid out as follows | |
│ │ └── <aspnetcore version> (18) | ||
│ └── runtime.<rid>.Microsoft.DotNet.ILCompiler (*) | ||
│ └── <runtime version> (19) | ||
│ └── Microsoft.NETCore.App.Runtime.NativeAOT.<rid> (*) | ||
│ └── <runtime version> (20) | ||
├── shared (*) | ||
│ ├── Microsoft.NETCore.App (*) | ||
│ │ └── <runtime version> (5) | ||
|
@@ -107,13 +109,14 @@ The **shared** folder contains frameworks. A shared framework provides a set of | |
|
||
- (18) **Microsoft.NETCore.App.Runtime.\<rid>/\<runtime version>,Microsoft.AspNetCore.App.Runtime.\<rid>/\<aspnetcore version>** These files enable building self-contained applications. These directories contain symbolic links to files in (2), (5) and (6). | ||
|
||
- (19) **runtime.\<rid>.Microsoft.DotNet.ILCompiler/\<runtime version>** These files enable building NativeAOT applications for the target platform. | ||
- (19) **runtime.\<rid>.Microsoft.DotNet.ILCompiler/\<runtime version>** These files enable building NativeAOT applications on the target platform. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you include that |
||
- (20) **Microsoft.NETCore.App.Runtime.NativeAOT.\<rid>/\<runtime version>** These files enable building NativeAOT applications for the target platform. | ||
|
||
- (20) **library-packs** contains NuGet package files. The SDK is configured to use this folder as a NuGet source. The list of NuGet packages provided by a .NET build is described below. | ||
- (21) **library-packs** contains NuGet package files. The SDK is configured to use this folder as a NuGet source. The list of NuGet packages provided by a .NET build is described below. | ||
|
||
The folders marked with `(*)` are used by multiple packages. Some package formats (for example, `rpm`) require special handling of such folders. The package maintainer must take care of this. | ||
|
||
Package files added to `library-packs` (20) can be packages that Microsoft does not distribute for the target platform. The files can also be packages that Microsoft distributes and for which `library-packs` provides a package that was built from source to meet platform package distribution guidelines. The following packages are included by the .NET build: | ||
Package files added to `library-packs` (21) can be packages that Microsoft does not distribute for the target platform. The files can also be packages that Microsoft distributes and for which `library-packs` provides a package that was built from source to meet platform package distribution guidelines. The following packages are included by the .NET build: | ||
|
||
| Package name | Published by Microsoft | Needed for | | ||
|----|----|----| | ||
|
@@ -133,13 +136,13 @@ The following lists the recommended packages: | |
- `dotnet-sdk-[major].[minor]` - Installs the latest SDK for specific runtime | ||
- **Version:** \<sdk version> | ||
- **Example:** dotnet-sdk-7.0 | ||
- **Contains:** (3),(4),(18),(20) | ||
- **Contains:** (3),(4),(18),(21) | ||
- **Dependencies:** `dotnet-runtime-[major].[minor]`, `aspnetcore-runtime-[major].[minor]`, `dotnet-targeting-pack-[major].[minor]`, `aspnetcore-targeting-pack-[major].[minor]`, `netstandard-targeting-pack-[netstandard_major].[netstandard_minor]`, `dotnet-apphost-pack-[major].[minor]`, `dotnet-templates-[major].[minor]` | ||
|
||
- `dotnet-sdk-aot-[major].[minor]` - Installs the SDK components for platform NativeAOT | ||
- **Version:** \<sdk version> | ||
- **Example:** dotnet-sdk-aot-9.0 | ||
- **Contains:** (19) | ||
- **Contains:** (19, 20) | ||
- **Dependencies:** `dotnet-sdk-[major].[minor]`, _compiler toolchain and developer packages for libraries that the .NET runtime depends on_ | ||
|
||
- `aspnetcore-runtime-[major].[minor]` - Installs a specific ASP.NET Core runtime | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
nitpick: connect the tree branches