When I create a new Windows Forms project (C#) in Visual Studio, my Solution Explorer is all blank, not showing any files

Steven Nagy 1 Reputation point
2021-06-24T00:26:04.63+00:00

When I create a new Windows Forms project (C#) in Visual Studio, my Solution Explorer is all blank, not showing any files.
Visual Studio version is the latest: Visual Studio Pro 2019 version 16.10.2
I clicked on Show All Files icon at the top too, but still not showing anything.
I tried adding the files with right-clicking on project, Add existing item... and chose the files one-by-on, then they show up under a Solution Items folder, but it's not the same. When I right-click on Form1, it doesn't give me the option to see the design view or code view. I can't get to design view, only shows the code when I double-click it.

Thanks

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,688 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. PengGe-MSFT 3,336 Reputation points
    2021-06-24T02:51:17.943+00:00

    Hi, @Steven Nagy

    Welcome to Microsoft Q&A!

    To better help you, could you please share me more detailed information such as

    1). Some related screenshots.
    2). Is there any error message?

    You can also try to use the Devenv command to start Visual Studio, such as "-SafeMode, -ReserSettings", please refer to this document to learn how to use the Devenv command.

    Sincerely,
    Peng
    *
    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread

    0 comments No comments

  2. Steven Nagy 1 Reputation point
    2021-06-24T21:29:13.763+00:00

    Sorry, nevermind.
    I tried to do a screen recording to show, but this time it worked. Strange that before I tried multiple times and always opened up a new project with no form showing and the solution explorer was all blank, only the solution name showing.
    This time a new blank form was shown on the screen and multiple files showing under Solution Explorer.