Skip to content

Conversation

@jkoritzinsky
Copy link
Member

Fixes the official build

@ghost ghost added the area-Setup label Feb 27, 2024
@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
<!-- Crossgen is not used for Mono -->
<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.

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.

5 participants