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

No Program.cs file generated for 5.0 core project after installed the latest .NET 6.0 rc.2 #5706

Closed
Zheng-Li01 opened this issue Sep 7, 2021 · 4 comments · Fixed by #5707
Assignees
Labels
area-Templates 💥 regression-preview Regression from a preview release

Comments

@Zheng-Li01
Copy link
Member

  • .NET Core Version:
    .NET 6.0.100-rc.2.21456.3

  • More info:

  1. This is a regression issue, can't reproduce after installed dotnet-sdk-6.0.100-rc.2.21452.43-win-x64.
  2. The issue can't reproduce for core project targetting with 3.1.
  3. For latest .NET 6.0 rc.2, the feature "new application bootstrap logic" was enabled, maybe related the PR: 5035
  • Have you experienced this same bug with .NET Framework?:
    No

Problem description:
No Program.cs file generated for 5.0 core project after installed the latest .NET 6.0 rc.2.

Expected behavior:
The Program.cs file generated for 5.0 core project after installed the latest .NET 6.0 rc.2

Minimal repro:

  1. Installed the latest .NET 6.0 rc.2.
  2. Crete .NET Core 5.0 project.
  3. Observe the Program.cs file for 5.0 core project in the solution explore window.
    image
@RussKie RussKie self-assigned this Sep 7, 2021
@RussKie RussKie added 💥 regression-preview Regression from a preview release area-Templates labels Sep 7, 2021
@RussKie
Copy link
Member

RussKie commented Sep 7, 2021

If this is RC2, then it is likely caused by #5609. I'll investigate.

RussKie added a commit to RussKie/winforms that referenced this issue Sep 7, 2021
@RussKie RussKie linked a pull request Sep 7, 2021 that will close this issue
@RussKie RussKie closed this as completed Sep 7, 2021
@Zheng-Li01
Copy link
Member Author

Verified the issue with latest .NET 6.0.100-rc.2.21460.37 build, the issue has been fixed that program.cs file generated for 5.0 core project after installed the latest .NET 6.0 rc.2.

Note: hitting known designer issue

@Philip-Wang01
Copy link
Contributor

Verified the issue with latest .NET 6.0.100-rc.2.21473.26 build, the issue has been fixed that program.cs file generated for 5.0 core project after installed the latest .NET 6.0 rc.2.
image

@ghost ghost locked as resolved and limited conversation to collaborators Jan 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Templates 💥 regression-preview Regression from a preview release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants