Skip to content

Conversation

jkoritzinsky
Copy link
Member

Unblocks dotnet/sdk#45347

When simplifying the official build YAML, I missed adding the publish argument explicitly for Linux x64/arm64 jobs. Add that flag back.

When building the repo all-up on Windows in one invocation (only done in the VMR), the project reference from the sfxproj to the native project causes issues during Restore. Exclude the reference during restore evaluation.

@jkoritzinsky jkoritzinsky requested review from a team and wtgodbe as code owners December 9, 2024 18:31
@ghost ghost added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Dec 9, 2024
@jkoritzinsky jkoritzinsky requested review from ViktorHofer and removed request for a team December 9, 2024 18:31
</PropertyGroup>
<ItemGroup>
<ProjectReference Condition=" '$(UseIisNativeAssets)' == 'true' AND $(BuildNative) "
<ProjectReference Condition=" '$(UseIisNativeAssets)' == 'true' AND $(BuildNative) AND '$(MSBuildRestoreSessionId)' == ''"
Copy link
Member

Choose a reason for hiding this comment

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

Not blocking this PR but what exact error does this fix?

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

@wtgodbe wtgodbe left a comment

Choose a reason for hiding this comment

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

LGTM, force-merging to unblock SDK

@wtgodbe wtgodbe merged commit 633add6 into dotnet:main Dec 9, 2024
23 of 27 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0-preview1 milestone Dec 9, 2024
captainsafia pushed a commit that referenced this pull request Feb 11, 2025
* Add missing publish args for Linux x64/arm64

* Don't reference the vcxproj during restore.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants