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
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Viorel 125.8K 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,156 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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.