Skip to content

Remove unused CAS resource strings and its translations from all libraries #9698

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

Merged
merged 19 commits into from
Jan 24, 2025

Conversation

h3xds1nz
Copy link
Member

@h3xds1nz h3xds1nz commented Sep 1, 2024

Fixes #1668

Description

Remove unused and obsolete CAS resource strings + translations from WindowsBase, PresentationFramework, PresentationCore and System.Xaml. This was long overdue since CAS removal and the types from System.Security.Permissions but never done. I've separated each one into separate commits.

SecurityExceptionForSettingSandboxExternalToTrue is from SecurityHelper.ThrowExceptionIfSettingTrueInPartialTrust, also a removed method part of CAS removal. This should cover the full issue description.

Customer Impact

Decreased file size; cleaner resource strings for developers.

Regression

No.

Testing

Local build.

Risk

Low.

Microsoft Reviewers: Open in CodeFlow

@h3xds1nz h3xds1nz requested review from a team as code owners September 1, 2024 20:19
@dotnet-policy-service dotnet-policy-service bot added PR metadata: Label to tag PRs, to facilitate with triage Community Contribution A label for all community Contributions labels Sep 1, 2024
@siagupta0202
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@siagupta0202
Copy link
Contributor

LGTM

@siagupta0202 siagupta0202 merged commit 549a416 into dotnet:main Jan 24, 2025
8 checks passed
@siagupta0202
Copy link
Contributor

@h3xds1nz Thank you so much for your contributions!

@h3xds1nz
Copy link
Member Author

@siagupta0202 Thank you for including them :)

@github-actions github-actions bot locked and limited conversation to collaborators Feb 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Community Contribution A label for all community Contributions PR metadata: Label to tag PRs, to facilitate with triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clean up resource string references
3 participants