Repository navigation
Closed
Labels
area-VSDesignerWindows Forms out-of-proc designer related issuesno-recent-activitywaiting-author-feedbackThe team requires more information from the author
Description
Environment
.NET version
7.0
Did this work in a previous version of Visual Studio and/or previous .NET release?
no
Issue description
every time i create a new project the designer immediately hangs up, and it stays like that for hours

Steps to reproduce
create a new project, no matter what net version
Diagnostics
[19:48:57.383748] fail: OutputGroupService didn't return output group DesignerRuntimeImplementationProjectOutputGroup.
For information on how to troubleshoot the designer refer to the guide at https://aka.ms/winforms/designer/troubleshooting.
[19:48:57.384745] fail: Could not retrieve DesignerRuntimeImplementationProjectOutputGroup for current project.
For information on how to troubleshoot the designer refer to the guide at https://aka.ms/winforms/designer/troubleshooting.
[19:48:57.393783] fail: System.InvalidOperationException: Designer load encountered an error. Please ensure that the project can be built successfully.
at Microsoft.DotNet.DesignTools.Client.Host.ProjectInfoProvider.NetCore.<GetNetCoreProjectInfoAsync>d__6.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.ProjectInfoProvider.<GetProjectInfoAsync>d__9.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.<CreateHostAsync>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.<CreateClientAsync>d__29.MoveNext()
For information on how to troubleshoot the designer refer to the guide at https://aka.ms/winforms/designer/troubleshooting.
[19:48:59.229331] warn: Cannot update selection in server process as Session is not connected.
Metadata
Metadata
Assignees
Labels
area-VSDesignerWindows Forms out-of-proc designer related issuesno-recent-activitywaiting-author-feedbackThe team requires more information from the author

Activity
elachlan commentedon Apr 16, 2023
@Olina-Zhang can your team please verify this?
RussKie commentedon Apr 17, 2023
I think this is @Shyam-Gupta's area of expertise.
Olina-Zhang commentedon Apr 17, 2023
We cannot reproduce it. Let's see if @Shyam-Gupta has any output or need more information to customer.
Shyam-Gupta commentedon Apr 17, 2023
@benki111 Could you please confirm if project can be built successfully after creating it? Also, are you able to create a WPF .NET project successfully and launch the designer? This will help us determine if it is a WinForms specific issue or not. Thanks.
Tanya-Solyanik commentedon Apr 19, 2023
@benki111 - what framework are you targeting?
amasys46 commentedon Apr 22, 2023
When creating a new app Winform desktop for .Net 7, I solved this "hang" problem by using this procedure:
Mike McCullough [email protected]
RussKie commentedon Apr 23, 2023
All of that shouldn't be necessary. What's the diagnostics output? https://aka.ms/winforms/designer/troubleshooting.