Petr Hromek
Petr Hromek

Reputation: 101

Visual Studio - Designer process terminated unexpectedly

After opening project (new or old) Visual Studio shows warning "Designer terminated unexpectedly" (can see in the picture below). What could cause this error? And how to fix that?

enter image description here

I clicked "click here to reload the designer" and it shows the same error.

Upvotes: 10

Views: 4990

Answers (6)

Trevor Fellman
Trevor Fellman

Reputation: 21

Some people have found a file "c:\program" that causes this, often created by typo creating a log file. Check to see if this file exists, and if so, move or delete it.

Upvotes: 2

Phree
Phree

Reputation: 29

In my case it was the problem with using system brushes as ThemeResource. Yes this is apparently a bug like other odd bugs in MS products. So I had to comment out them until I finished my project. I don't know, maybe another factor such as my graphic hardware was not ineffective but this does not exonerate MS.

Upvotes: 0

Marc
Marc

Reputation: 31

I had the same issue and found out that my Oracle VirtualBox causes the issue. My Visual Studio runs in a virtual Windows 10 enviroment.

After I disabled "Enable 3D Acceleration" in options Display, my Visual Studio Designer worked fine again.

Upvotes: 3

Karl
Karl

Reputation: 11

Graphics card was the problem for me. I have an external USB video from DisplayLink and when I disconnected it the problems went away. in fact it didn't return when I reconnected the displaylink.

Upvotes: 1

JMK
JMK

Reputation: 28080

I just had a similar problem. Tried:

  • Clicking to reload the designer
  • Cleaning my solution
  • Restarting Visual Studio
  • Repairing Visual Studio
  • Uninstalling and re-installing Visual Studio!

It ended up being graphics related, as you mentioned.

I have hybrid graphics (Intel and NVIDIA), and was using NVIDIA for Visual Studio. Changed it to Intel and this worked.

If it helps, a screenshot of my NVIDIA control panel is below:

Before (broken):

Before (NVIDIA control panel set to NVIDIA)

After (working):

After (NVIDIA control panel set to Auto-select)

Upvotes: 2

Explisam
Explisam

Reputation: 749

Start Visual Studio As Administrator~!

I had the same problem when i started working in Team Projects, so almost everything did not work including the designer, properties menu, debugging and so on.. (which is totally unusual for anything to cause all these problems except for Administrator Privileges issues probably in most cases).

Don't know why or what caused it, but at least it works.

Upvotes: 1

Related Questions