Skip to content
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

Add runtime platform deps for .NET 6 #6170

Merged
merged 11 commits into from
May 25, 2021
Merged

Conversation

mthalman
Copy link
Member

Related to #5646

Defines all of .NET's runtime platform dependencies for Linux, Windows, and macOS. This uses the platform dependency schema.

This relies on the RID inheritance model. For example, RHEL and CentOS have the same package dependencies and the centos RID inherits from rhel. So in the dependency model, I defined dependencies just for the rhel RID which would be implicitly inherited by centos.

I decided not to include any Windows desktop UI packages such as WPF and WinForms because I didn't see much benefit to having them. One of the main reasons for tracking Windows dependencies is to differentiate what libraries exist between the different Windows variants (Windows Server, Windows desktop, Windows Server Core, and Nano Server). Since Windows Server Core and Nano Server are headless, using the desktop UI packages isn't really an option. And the remaining variants, Windows Server and Windows desktop, provide all the necessary dependencies. Based on that, producing an itemized list of what those dependencies are seems like a lot of work without much benefit. We can re-evaluate later if we determine there's a need.

I won't actually merge this until Preview 4 ships.

@mthalman
Copy link
Member Author

Any further feedback on this from anyone?

Copy link

@reflectronic reflectronic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These suggestions don't really move the needle, but it's better to be more accurate

mthalman added 2 commits May 6, 2021 09:52
Since the name expression uses a logical operator, the ID must be set explicitly in order to be referenceable.
Copy link

@Saiprasad16 Saiprasad16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove unused dependency usage

@mthalman
Copy link
Member Author

Remove unused dependency usage

@Saiprasad16 - Can you clarify this? Your comment isn't associated with a specific line in the file.

@mthalman mthalman changed the title Add runtime platform deps for .NET 6 Preview 4 Add runtime platform deps for .NET 6 May 25, 2021
@mthalman mthalman merged commit 1d9c0f4 into dotnet:main May 25, 2021
@mthalman mthalman deleted the platform-deps branch May 25, 2021 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants