Skip to content

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

Merged
marcpopMSFT merged 1 commit intorelease/9.0.2xxfrom
backport/pr-45861-to-release/9.0.2xx
Feb 11, 2025
Merged

[release/9.0.2xx] Update MSB3825 warning presence#46037
marcpopMSFT merged 1 commit intorelease/9.0.2xxfrom
backport/pr-45861-to-release/9.0.2xx

Conversation

@github-actions
Copy link
Copy Markdown
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
Copy Markdown
Member

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

@JanKrivanek
Copy link
Copy Markdown
Member

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@JanKrivanek
Copy link
Copy Markdown
Member

@dotnet/domestic-cat - only macOS run is failig here - is that a known issue?

@baronfel
Copy link
Copy Markdown
Member

baronfel commented Feb 3, 2025

Yes, macOS arm64 is known flaky and as such it's not actually required to merge PRs. I think all that's required now is to wait for branding before merging this - it's targeting the March release, right?

@marcpopMSFT marcpopMSFT merged commit b8cf3df into release/9.0.2xx Feb 11, 2025
@marcpopMSFT marcpopMSFT deleted the backport/pr-45861-to-release/9.0.2xx branch February 11, 2025 21:26
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.

4 participants