question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Form Designer not showing for .NET 6 project

See original GitHub issue

Environment

Visual Studio Enterprise 17.3.6

.NET version

.NET 6

Did this work in a previous version of Visual Studio and/or previous .NET release?

No response

Issue description

When I open the Form Designer, it is blank. This happens even for a new project. It happens for .NET 6 projects, but the form designer works fine if I create a .NET 4.7.2 project.

I’ve tried all the suggestions in the troubleshooting guide - timeout, antivirus & confirming UseLegacyPathHandling is disabled.

I’ve also tried repairing Visual Studio using the Visual Studio Installer.

Using Task Manager, I can see that the OOP designer (DesignToolsServer.exe) starts, but then closes almost immediately. A while later Visual Studio shows Timed out while connecting to named pipe which I presume is due to DesignToolsServer.exe not being there to respond.

Is there a way to see the output of DesignToolsServer.exe, to work out why it’s closing?

Thanks!

Steps to reproduce

Create new Project: Windows Form App -> .NET 6.0 (though the same happens for .NET 5 and .NET Core 3.1) Double-click Form1.cs

Diagnostics

No response

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
Ashley-Licommented, Oct 27, 2022

@merriemcgaw @dreddy-work @Olina-Zhang Have filed a designer issue : 4743 to track.

1reaction
dreddy-workcommented, Oct 26, 2022

@dreddy-work is this a dup of issue: #7609? And you fixed it in designer PR: microsoft/winforms-designer#4578

It is similar but for the supported modes of designer. If you set the unsupported mode for designer ( in this case, HIGHDPIAWARE, equivalent to PermonV2) we cannot proceed with that mode.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Form view designer is not working in Visual Studio 2019 ...
Make sure you only have the form declared in your file. If you have more than one class defined, the design viewer will...
Read more >
Why doesn't VS 2022 show my WinForms UI at design time?
The fix (for them) is to split out the form designer into a second process, running separately from Visual Studio, and do all...
Read more >
(Loading Designer...) Form Designer Fails to Display #6492
Launch Visual Studio and open tab: Tools -> Options -> Windows Forms Designer -> General · Set . · Press Ok to save...
Read more >
Windows Forms Designer (.NET Core) is not showing after ...
I've created new Windows Forms Application (.NET Core) and Windows Forms Designer simply is not showing - it opens another tab of a...
Read more >
Windows Forms-Designer not working after switch from ...
The entire project-folder is still compiling and still executes, but the Forms-Designer cannot be opened anymore. After some Experimenting I ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found