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

[release/9.0.2xx] Update MSB3825 warning presence #46037

Open
wants to merge 1 commit into
base: release/9.0.2xx
Choose a base branch
from

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jan 16, 2025

Backport of #45861 to release/9.0.2xx

Contributes to dotnet/msbuild#11185

Summary

Based on BinaryFormatter removal workgroup recommendation, MSBuild should stop warning in the GenerateResource task about possible usage of BinaryFormatter during runtime - as in the NET9 the usage of the BinaryFormatter is avoided during runtime.

More details: dotnet/msbuild#11185 (comment)

Customer Impact

User can be receiving false postivie warnings about security related topic - which might decrease credibility of similar warnings and customers attention to true positives.

Regression?

No.
BinaryFormatter used to be used in runtime up till NET8 - and there was no higher runtime then - so the warning was correct unconditionally.

Testing

Tested via manual run of dotnet build with GenerateResource targeting NET8 and NET9 - warning appears only in the former.

Risk

Minimal (just a comparison change).

@marcpopMSFT
Copy link
Member

@JanKrivanek are you going to prep the QB mode tab and bring to tactics for approval

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants