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] Pass missing compiler parameters to satellite resource generation, making them deterministic #45938

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

github-actions[bot]
Copy link
Contributor

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

Backport of #45257 to release/9.0.2xx

These parameters negatively impact the reproducibility of the build and Jared says we should align them with other C# compiler invocations.

Description

This PR aligns the parameters passed to Csc when compiling satellite assemblies with other Csc invocations, and makes satellite assemblies deterministic where they weren't before.

Risk

Low - the practical effect of this will be that satellite assemblies are deterministic in the same way actual app assemblies are.

/cc @baronfel @jaredpar

Pass a few parameters to `<Csc>` that were missing and impact build reproducibility.

closes #45256
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Request triage from a team member labels Jan 13, 2025
@baronfel
Copy link
Member

@marcpopMSFT are we still open for 9.0.200 at the SDK level?

@marcpopMSFT
Copy link
Member

Any remaining changes should go through QB mode at this point.

@baronfel baronfel changed the title [release/9.0.2xx] Pass missing compiler parameters [release/9.0.2xx] Pass missing compiler parameters to satellite resource generation, making them deterministic Jan 14, 2025
@baronfel
Copy link
Member

Approved over email.

@baronfel baronfel merged commit f79cb0b into release/9.0.2xx Jan 14, 2025
28 of 31 checks passed
@baronfel baronfel deleted the backport/pr-45257-to-release/9.0.2xx branch January 14, 2025 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants