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

VS 2022 (but not 2019) hangs if <TargetFrameworks> is defined in an include and overridden #9028

Closed
vsfeedback opened this issue May 18, 2023 · 1 comment
Assignees
Labels
Triage-Approved Reviewed and prioritized

Comments

@vsfeedback
Copy link

vsfeedback commented May 18, 2023

This issue has a corresponding ticket on Developer Community. Please vote and comment there to make sure your voice is heard.


[severity:It's more difficult to complete my work]

I encountered this by happenstance while adding a net6.0 build to a project (moving from 1 TFM to several). Since this is OSS, there's a public commit here illustrating (resolving) the issue: NickCraver/azure-webjobs-sdk@eed88b8

If you pull this branch/commit, VS 2022 will be happy. However, if you pull 1 commit back (NickCraver/azure-webjobs-sdk@2f6bf93 - totally unrelated change), you'll see VS 2022 will load 17/17 project and stall (I'm attaching a process dump from when it happened - I can reproduce this on every machine I have).

Notes:

  • I thought this was <TargetFrameworks> in a base .props file and <TargetFramework> in a specific project resulting on both, but after switching everything inheriting that .props to <TargetFrameworks> the issue persisted.
  • This issue doesn't happen in VS 2019 (also confirmed by another party) and seems to be specific to VS 2022.
  • Most of the attachments here are from the running instance (post-fix) - I could not figure out how to attach to the hung VS in 2022, the feedback tool immediately launches the web version.
@haileymck haileymck self-assigned this May 25, 2023
@haileymck haileymck added the Triage-Approved Reviewed and prioritized label May 25, 2023
@haileymck
Copy link
Contributor

fixed in #9256

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Triage-Approved Reviewed and prioritized
Projects
None yet
Development

No branches or pull requests

2 participants