-
Notifications
You must be signed in to change notification settings - Fork 376
enable cg2 by default in sharedfx #7476
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
Conversation
trylek
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thank you!
AntonLapounov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that setting PublishReadyToRun should be moved to sharedfx.props. That way SDK will set PublishReadyToRunUseCrossgen2 to true.
|
We can't move it there because the PlatformPackageType property is set in the user's project file, and the sharedfx.props file gets imported before properties there are read. |
|
yeah tested by moving it to props, but |
|
That is unfortunate. We should probably remove the |
yeah might make sense to do that change. Let me merge this and we can undo once the SDK change makes it through. |
Updating sharedfx.targets to use crossgen2 by default for ReadyToRun, similar change has been done within the sdk but that doesnt seem to take effect while building with sharedFx.targets.
With active work to decomm crossgen1 need to get this propagated to all repos so we could resolve any outstanding issues.
I have validated that WindowsDesktop repo does use crossgen2 if I manually update its sharedFx.targets with this change.