Frequently unable to see the design View contents

Michael Gauthier 1 Reputation point
2022-08-28T15:50:48.93+00:00

Community edition 2022, Basic Forms program
Alien PC Running Win 11

When I first start VS, it displays, "Restoring Nuget Packages..." and that can take 20-30 seconds and sometime longer. It is also simultaneously loads the design view at the same time and that sometimes never even completes. I simply exit VS and restart to recover.

The Design View is frequently a problem when switching between the code and the Design View. It just won't display the design window contents. To resolve that I close the empty design window and reopen it. If that does work, a restart of VS usually works.

This is becoming a frequent problem, any help trying to figure this out will be appreciated. I have already uninstalled and reinstalled VS with no help. I ran the DX diag in VS and it says there are no issues.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,057 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 28,661 Reputation points Microsoft Vendor
    2022-08-29T10:29:57.853+00:00

    Hi @Michael Gauthier ,

    Welcome to Microsoft Q&A!

    Is your VS2022 the latest version? If not, please update it to the latest version in Visual Studio Installer > Update.

    If you installed some third-party extensions, please temporarily disable or uninstall them under Extensions > Manage Extensions > Installed.
    Besides, you can try to launch your VS as administrator and check if it works normally.

    Update:

    When creating project or building projects in Visual Studio, package restore runs automatically to check if all project’s dependencies are available.
    Usually, the first restore will take some time. If your project makes no changes, restarting VS will shorten the restore time.

    I created a WinForms project to test it and didn’t have a situation like yours.
    Please first check your network connection.
    If there are no network issues, you can disable the package restore:
    Tools > Options > NuGet Package Manager > General > Package Restore > disable “Allow NuGet to download missing packages” and “Automatically check for missing packages during build in Visual Studio

    Sincerely,
    Anna
    *
    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    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

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.