Creating new project does not show Form.

70616237 0 Reputation points
2023-03-10T08:50:08.67+00:00

Hi

I just started a programming course and when the lecturer created a new project it opened a form.

Mine opens a Window

Any help with this would be appreciated

User's image

Developer technologies | Visual Studio | Setup
Developer technologies | Visual Studio | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Viorel 122.6K Reputation points
    2023-03-10T09:37:57.02+00:00

    I think that you should create a new project, selecting the “Windows Forms App” or “Windows Forms App (.NET Framework)”, according to lecturer recommendations. Make sure that the filters shows all templates.

    If these types are not available, then you can use the Visual Studio Installer to select the “.NET desktop development” workload and missing components.

    Currently you probably created a WPF project instead of Forms.

    0 comments No comments

  2. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2023-03-10T11:32:50.92+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.