-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Use ridless PNSE configurations where applicable #44230
Conversation
For projects that require platform support we should use a rid-less configuration, i.e. $(NetCoreAppCurrent). That guarantees that PNSE assemblies are available for new configurations that aren't represented in the defined project's TargetFrameworks. This is especially important for inbox assemblies. I left the following assemblies as is as they are partial PNSEs: - System.Security.Cryptography.Algorithms - System.Net.NameResolution System.Net.Requests and System.Net.WebClient are IL only but intentionally marked as throwing on Browser.
Tagging subscribers to this area: @maryamariyan |
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.
LGTM
Should we add validation that when the PNSE is set, we check that the tfm is ridless? |
This is a bit more complex as we have partial PNSE assemblies now as well with Browser. Also we have PNSE configurations that use a specific implementation ie |
That is true... disregard. |
Tagging subscribers to this area: @safern, @ViktorHofer Issue meta data
|
/azp run runtime |
Azure Pipelines successfully started running 1 pipeline(s). |
Is there anything blocking the merge? |
For projects that require platform support we should use a rid-less
configuration, i.e. $(NetCoreAppCurrent). That guarantees that PNSE
assemblies are available for new configurations that aren't represented
in the defined project's TargetFrameworks. This is especially important
for inbox assemblies.
I left the following assemblies as is as they are partial PNSEs:
System.Net.Requests and System.Net.WebClient are IL only but
intentionally marked as throwing on Browser.
Fixes #44229