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

Work around MSBuild task ordering bug #74205

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jjonescz
Copy link
Contributor

Fixes #74156.

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged Issues and PRs which have not yet been triaged by a lead label Jun 28, 2024
@@ -60,6 +60,9 @@

<!-- TODO -->
<_SkipUpgradeNetAnalyzersNuGetWarning>true</_SkipUpgradeNetAnalyzersNuGetWarning>

<!-- https://github.com/dotnet/msbuild/issues/10306 -->
<CoreCompileDependsOn>$(CoreCompileDependsOn);ResolveKeySource</CoreCompileDependsOn>
Copy link
Member

Choose a reason for hiding this comment

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

This will solve the immediate issue but I'm worried about other similar target dependencies. No objection to checking it in but I'm not sure it'll fix everything.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have actually seen some more non deterministic issues while having this fix locally, so we should probably solve differently. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can only build Roslyn.sln a single time before building breaks (2)
2 participants