Reputation: 917
I'm facing a rather infuriating issue when trying to open a Windows Forms 'form' on Designer mode.
If I press F7 and go to the aforementioned mode, it shows a Design Time Error
, and when I click any part of it, VS2015 crashes.
When it suggests me to debug it, (and I grudgingly accept to open another VS 2015 instance, it says that the issue resides on the type initializer from one of it's embedding custom user controls:
The userControl it complains about has this initializer:
Thanks in advance.
Upvotes: 1
Views: 701
Reputation: 1
If your project is merged recently by using version control software like git, please make sure that the embedded resource file(resx file) of the user control is properly associated. You can correct it in the csproj file.
Upvotes: 0
Reputation: 11
You can use Devenv.exe /SafeMode, it launches the IDE in safe mode loading minimal windows, and check whether it can fix it.
Upvotes: 1