Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Remove ProjectReference item to inner project except in graph builds - #847

#847
Merged
AArnott merged 2 commits into
maindotnet/Nerdbank.GitVersioning:mainfrom
fixp2pissuesdotnet/Nerdbank.GitVersioning:fixp2pissuesCopy head branch name to clipboard
Oct 22, 2022
Merged

Remove ProjectReference item to inner project except in graph builds#847
AArnott merged 2 commits into
maindotnet/Nerdbank.GitVersioning:mainfrom
fixp2pissuesdotnet/Nerdbank.GitVersioning:fixp2pissuesCopy head branch name to clipboard

Conversation

@AArnott

@AArnott AArnott commented Oct 22, 2022

Copy link
Copy Markdown
Collaborator
  • Remove inner project from ProjectReference items by default
  • Add Microsoft.NETFramework.ReferenceAssemblies to resolve net462 targeting framework error

By removing the ProjectReference item that pointed to our cached inner build, we can avoid all the bugs that have been streaming in since adding it, due to project types that assume they understand all P2Ps.
We still produce that item with a different item type for our own use, and we copy that into a ProjectReference item for graph builds so that NB.GV is doing the Right Thing in that case.

Closes #845
Closes #844

This should avoid the vast majority of the P2P problems introduced by trying to work in `msbuild -graph -isolate`.
@AArnott AArnott added this to the v3.6 milestone Oct 22, 2022
@AArnott
AArnott enabled auto-merge October 22, 2022 15:35
@AArnott
AArnott merged commit eac5c14 into main Oct 22, 2022
@AArnott
AArnott deleted the fixp2pissues branch October 22, 2022 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Service Fabric Support Missing target build errors when building an F# project in VSCode

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.