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

Reduce size of AnyOS binaries with required String extracted #1225

Merged
merged 1 commit into from
Aug 24, 2021

Conversation

cheenamalhotra
Copy link
Member

Strings.resx is not needed to be included for AnyOS binaries, as it required only message to be thrown, which was not correctly working either. This PR also fixes the message which is currently generated as:
throw new PlatformNotSupportedException("Strings.PlatformNotSupported_DataSqlClient");

New generated message:
throw new System.PlatformNotSupportedException("Microsoft.Data.SqlClient is not supported on this platform.");

@cheenamalhotra cheenamalhotra added this to the 4.0.0-preview1 milestone Aug 24, 2021
@cheenamalhotra cheenamalhotra merged commit 74ffd8b into dotnet:main Aug 24, 2021
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.

3 participants