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

Failed to run Winforms/WPF .Net 6.0 app in Visual Studio by pressing F5 #4620

Closed
Olina-Zhang opened this issue Jun 1, 2021 · 7 comments
Closed
Labels
External Non-WPF Issue External issue, not caused by WPF

Comments

@Olina-Zhang
Copy link
Member

  1. This is a recent .Net SDK build's regression, cannot repro in previous build: .Net SDK 6.0.100-preview.6.21276.13
  2. Cannot repro when building app in CLI
  • Repro steps:
  1. Launch VS to create a Winforms/WPF .Net 6.0 app
  2. Press F5 to run it
  • Actual result:
    Failed to run app
    F5Issue

  • Expected result:
    Run app successfully

@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@sfoslund sfoslund removed their assignment Jun 2, 2021
@sfoslund sfoslund transferred this issue from dotnet/sdk Jun 2, 2021
@Olina-Zhang
Copy link
Member Author

A similar issue: dotnet/runtime#53508

@ryalanms ryalanms added the Investigate Requires further investigation by the WPF team. label Jun 3, 2021
@ryalanms ryalanms self-assigned this Jun 3, 2021
@ryalanms
Copy link
Member

ryalanms commented Jun 3, 2021

/cc @merriemcgaw @RussKie

@ryalanms ryalanms added External Non-WPF Issue External issue, not caused by WPF and removed Investigate Requires further investigation by the WPF team. labels Jun 3, 2021
@ryalanms ryalanms removed their assignment Jun 3, 2021
@RussKie
Copy link
Member

RussKie commented Jun 3, 2021

Duplicate of dotnet/runtime#53508

@RussKie RussKie marked this as a duplicate of dotnet/runtime#53508 Jun 3, 2021
@RussKie RussKie closed this as completed Jun 3, 2021
@RussKie
Copy link
Member

RussKie commented Jun 3, 2021

This is the issue I raised to the runtime time. I expect the fix to flow through shortly.

@RussKie
Copy link
Member

RussKie commented Jun 3, 2021

I've just tested Window Forms, and everything seems back to normal with dotnet/winforms#5038 (runtime v20210603.1).

@Ashley-Li
Copy link

Verified the issue with latest .NET SDK 6.0.100-preview.6.21306.1, the issue has been fixed, after created a Winforms/WPF .Net 6.0 app and then press F5 to run it, run app successfully. Please see below gif:
issue_53508_verify

@ghost ghost locked as resolved and limited conversation to collaborators Apr 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
External Non-WPF Issue External issue, not caused by WPF
Projects
None yet
Development

No branches or pull requests

5 participants