Win11 Pro Visual Studio 2022 v17.3.4 C# .NET6.0
Trying to create a visual component library for use with C#. I successfully create a class library following several videos that I have watched online.
When I try to open View Designer, I get the dialog shown below and it will eventually time out with the Call Stack shown below.
The solution is setup for Class Library, .NET 6.0, Any CPU (I've also tried x64), Target OS Windows, Target OS version 10.0.226221.
From another online post, I used Manage NuGet Packages to install Microsoft.VisualStudio.Designer.Interfaces and Microsoft.VisualStudio.Interop to my solution.
I have downloaded the latest VS and installed as instructed by a MS post on this issue.
I have tried all the solutions from the following post but this is solving the issue for a Windows Forms .NET solution,
Visual Studio 2022 WinForms designer hang on "Loading Designer..."
The problem still exists.
Any help would be greatly appreciated.
John
at Microsoft.DotNet.DesignTools.Client.Host.ServerProcess.d__35.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__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.Host.ServerHostFactory.d__8.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__29.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__DisplayClass25_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__27.MoveNext()