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

Add back OverridePackageId for the crossgen sfxproj #99005

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

jkoritzinsky
Copy link
Member

Fixes the official build

@ghost ghost assigned jkoritzinsky Feb 27, 2024
@jkoritzinsky jkoritzinsky changed the title Update Microsoft.NETCore.App.Crossgen2.sfxproj Add back OverridePackageId for the crossgen sfxproj Feb 27, 2024
@@ -7,6 +7,7 @@
<SkipBuild Condition="'$(RuntimeFlavor)' == 'Mono'">true</SkipBuild>
<PlatformPackageType>ToolPack</PlatformPackageType>
<SharedFrameworkName>$(SharedFrameworkName).Crossgen2</SharedFrameworkName>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we also need to add the PgoSuffix back:

Suggested change
<SharedFrameworkName>$(SharedFrameworkName).Crossgen2</SharedFrameworkName>
<SharedFrameworkName>$(SharedFrameworkName).Crossgen2</SharedFrameworkName>
<PgoSuffix Condition="'$(PgoInstrument)' != ''">.PGO</PgoSuffix>

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need to add the PGO suffix back because we don't produce this package in the PGO builds.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think what Alexander was saying is that you are reading from the PgoSuffix property again with this change but $(PgoSuffix) is nowhere defined.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jkoritzinsky jkoritzinsky merged commit fc8bb88 into main Feb 28, 2024
96 of 100 checks passed
@jkoritzinsky jkoritzinsky deleted the jkoritzinsky-patch-1 branch February 28, 2024 02:23
@github-actions github-actions bot locked and limited conversation to collaborators Apr 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants