Visual Studio - Designer process terminated unexpectedly

后端 未结 6 1184
别跟我提以往
别跟我提以往 2020-12-10 06:03

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

相关标签:
6条回答
  • 2020-12-10 06:31

    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)

    0 讨论(0)
  • 2020-12-10 06:36

    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.

    0 讨论(0)
  • 2020-12-10 06:42

    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.

    0 讨论(0)
  • 2020-12-10 06:42

    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.

    0 讨论(0)
  • 2020-12-10 06:50

    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.

    0 讨论(0)
  • 2020-12-10 06:53

    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.

    0 讨论(0)
提交回复
热议问题