-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Removed Security.Permission reference #9055
Conversation
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.
Nice, thanks!
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 looks good, however I believe that we'll unfortunately need to hunt and kill all the transitive dependencies as well :-/
You can use the project.assets.json
files to find them and untagle the transitivity chain:
> \.build.cmd
...
> cd artifacts\obj
> findstr /spin /c:"System.Security.Permissions" project.assets.json
One example is System.Configuration.ConfigurationManager
![image](https://private-user-images.githubusercontent.com/3809076/255887630-44ecb3d8-3875-4562-8b08-f5334f91e616.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIwMjU5NDEsIm5iZiI6MTcyMjAyNTY0MSwicGF0aCI6Ii8zODA5MDc2LzI1NTg4NzYzMC00NGVjYjNkOC0zODc1LTQ1NjItOGIwOC1mNTMzNGY5MWU2MTYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcyNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MjZUMjAyNzIxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9N2RlMzNlMThmNDdmNjc0OGNlYTY0NzE5ZjQ3N2RkMGI4MDMxMWNhOTQ0OWQxMWFmMGU3YjJlYWRmYzQ5NTAxNiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.pue8XkDC5rr09QipCpDYgIQJpD9nG-RpWOhbug-Cyqo)
This would've helped with dotnet/source-build#3571 / #9158. @maridematte do you plan on updating the PR? I can help address the PR feedback if you don't have time. |
@akoeplinger Unfortunately the Is this blocking you anywhere? The bug and PR you mentioned are both closed - so I'm trying to see what's the priority of this one |
@JanKrivanek the problem in dotnet/source-build#3571 was that a type from As for This is not blocking for me, I just noticed this while looking at related PRs. But I think #8962 looks quite important if the msbuild package now can't be used on Mac/Linux. |
IMO this PR is goodness as it is. If consumers want, they can also reference the latest ConfigurationManager package from 8.0 to lift up the dependency that MSBuild has on it and eliminate all references to SSP. @rainersigwald let me know the SDK will do this so this should remove the file from the final layout. |
In an offline discussion we decided to not upgrade |
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.
Looks good!
Fixes #8962
Changes Made
Moved some refences for exception handling so
System.Security.Permissions
is not referenced in 8.0.Removed
System.Security.Permissions
from the package list in files.Testing
N/A