Visual Studio 2022 Fails to Load Designer for VB

Mike Adkins 1 Reputation point
2022-03-10T17:20:18.63+00:00

I have a fresh new install of Visual Studio 2022 on Windows 11 and developing under VB. I have loaded the module SplashScreen into my new project. This loads fine. But when I attempt to run or load the Designer it fails. I have updated Visual Studio to version 17.1.1 the latest version and I am running .NET framework Version 4.8.04161

When I attempt to load Designer I get the following Error. I am not sure how to fix Visual Studio or how to repair it so that Designer will run.

Instances of this error (1)

  1. Hide Call Stack

at Microsoft.DotNet.DesignTools.Client.Host.ServerProcess.d__30.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.DotNet.DesignTools.Client.Host.ServerProcess.d__25.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.DotNet.DesignTools.Client.Host.ServerHostFactory.d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.DotNet.DesignTools.Client.DesignToolsClientLoader.d__28.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.DotNet.DesignTools.Client.DesignToolsClientLoader.d__28.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.DotNet.DesignTools.Client.DesignToolsClientLoader.<>c__DisplayClass24_1.<<-ctor>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.DotNet.DesignTools.Client.DesignToolsClientLoader.d__26.MoveNext()

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,569 questions
{count} votes

4 answers

Sort by: Most helpful
  1. Jiachen Li-MSFT 26,506 Reputation points Microsoft Vendor
    2022-03-11T02:11:35.747+00:00

    Hi @Mike Adkins ,
    Check the following solution.
    WinForms .NET Framework Projects can't display the designer for 32bit references
    Best Regards.
    Jiachen Li

    ----------

    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.


  2. Jimmy Jonathan Carrion Paico 1 Reputation point
    2022-04-06T19:23:18.213+00:00

    solution

    remove these folders from the project
    enable view hidden files

    ".vs"
    "obj"
    then we open our project
    thanks!

    0 comments No comments

  3. AlMounkez Software 1 Reputation point
    2023-02-12T14:08:07.09+00:00

    4

    I had the same problem.

    Solved by running VS 2022 as Administrator.

    and wait for Nuget Package Update

    0 comments No comments

  4. AlMounkez Software 1 Reputation point
    2023-02-12T14:14:38.1466667+00:00

    I had the same problem.

    Solved by running VS 2022 as Administrator.

    and wait for Nuget Package Update

    0 comments No comments