Skip to content

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

Merged
siagupta0202 merged 19 commits into
dotnet:mainfrom
h3xds1nz:remove-cas-strings
Jan 24, 2025
Merged

siagupta0202 merged 19 commits into
dotnet:mainfrom
h3xds1nz:remove-cas-strings

Conversation

@h3xds1nz

@h3xds1nz h3xds1nz commented Sep 1, 2024 •

Copy link
Copy Markdown
Member

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
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@siagupta0202

Copy link
Copy Markdown
Contributor

LGTM

@siagupta0202
siagupta0202 merged commit 549a416 into dotnet:main Jan 24, 2025
@siagupta0202

Copy link
Copy Markdown
Contributor

@h3xds1nz Thank you so much for your contributions!

@h3xds1nz

Copy link
Copy Markdown
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