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

Run 'AddImplicitDefineConstants' on 'BeforeCompile' #44695

Conversation

Sergio0694
Copy link
Contributor

Fixes #43908

This PR changes "AddImplicitDefineConstants" to use "BeforeCompile" as trigger, instead of "CoreCompile".

@Sergio0694 Sergio0694 force-pushed the user/sergiopedri/fix-AddImplicitDefineConstants-xaml branch from e894826 to ae2b63a Compare November 9, 2024 00:07
@Sergio0694 Sergio0694 force-pushed the user/sergiopedri/fix-AddImplicitDefineConstants-xaml branch from ae2b63a to 4cd69e8 Compare November 9, 2024 20:23
@Sergio0694
Copy link
Contributor Author

@rainersigwald CI is all green (but I don't have permissions), can we merge this? 😄

Also, do you think we could backport this to .NET 9? Should I fill out the usual servicing form? Thank you!

@marcpopMSFT marcpopMSFT merged commit 9ca2059 into dotnet:main Nov 12, 2024
37 checks passed
@marcpopMSFT
Copy link
Member

I'd need @rainersigwald to weigh in on how risky moving this is as we typically don't take this sort of change for 9. 9.0.2xx is open but this is borderline. We'd need high confidence of no break to consider for 1xx.

@Sergio0694
Copy link
Contributor Author

If it helps, 9.0.2xx would also be fine (I assume that'd go out somewhere in January?). My concern was mostly about not being able to get the fix until all the way to November 2025 with .NET 10. So even just 9.0.2xx would be better than that 😅

@Sergio0694 Sergio0694 deleted the user/sergiopedri/fix-AddImplicitDefineConstants-xaml branch November 12, 2024 21:59
@rainersigwald
Copy link
Member

rainersigwald commented Nov 18, 2024

I think 2xx sounds reasonable for this @marcpopMSFT.

@marcpopMSFT
Copy link
Member

Sounds reasonable. @Sergio0694 , feel free to backport to 9.0.2xx so as not to have to wait a full year.

@Sergio0694
Copy link
Contributor Author

Sergio0694 commented Nov 18, 2024

Awesome, will do that. Thank you both! 🙂

EDIT: opened #44938.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-NetSDK untriaged Request triage from a team member
Projects
None yet
3 participants