VS 2022 and Maui really don't play well together

Lloyd Sheen 1,476 Reputation points
2022-09-25T17:34:29.527+00:00

So just installed latest VS 2022. Before it would take about a minute to do a NuGet update of packages.

I am just letting the "update" run but it has now been loading for about 20 mins.

I get so many strange problems with VS and Maui and now NuGet updates have gone that way. Is anyone at MS concerned that with each release of VS it gets another problem and these are things that should be tested in QA (if there is any).

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,649 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,888 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 29,446 Reputation points Microsoft Vendor
    2022-09-29T03:06:40.203+00:00

    Hi @Lloyd Sheen ,

    I think you can also check following aspects:

    1. Go to Tools > NuGet Package Manager > Package Manager Settings > Package Sources > check to see if any non-existing package source are still listed there, and try to remove/uncheck them.
    2. Open Tools > NuGet Package Manager > Manage NuGet Packages for Solution… > select the correct package source(for example select nuget.org) on the right corner of Manage Packages for Solution window.
    3. Try to restore NuGet packages by right-clicking the solution node > Restore NuGet Packages, or go to Tools > NuGet Package Manager > Package Manager Settings > General > Clear All NuGet Cache(s). And try to use command line to clear all nuget caches, see this document: Clearing local folders.
    4. Check if any antivirus software and third-party extensions prevent Visual Studio from connecting, checking and updating NuGet packages.
    5. Try to reset Visual Studio settings. See this document: Reset settings.
    6. Try to repair Visual Studio from Visual Studio Installer.

    Best Regards,
    Tianyu

    • 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