Everytime I go to the designer Visual Studio freezes(Not Responding) for 30+ seconds and once I click on any element/widget after that, it freezes again for 30+. Does that for 5 times maybe then I will be able to edit and design.
Specs:
Attempts:
What is the issue??
Editing XAML leads Visual Studio's Designer to crash I don't have to edit Xaml to get the problem, I am just clicking my View to, well, view. However the solution did not work.
Visual Studio 2012 hangs on editing XAML of course..
Visual Studio 2012 design view causes freeze Repairing did not work.
Visual Studio 2013 hangs/freezes when trying to click the designer view No answer.
Edit:
I was not able to open any of the old versions in Safe Mode (for this same application) due to the same above error "Unsupported"
I was able to create a new project in Safe Mode, and it worked fine.
I was able to create a new project in Normal Mode, and it worked fine.
I faced the same freezing issue when I copied/pasted the whole project into another device. So, it is something unique to my project I guess.
I forgot to mention that some of the times that I go to the designer, it says Invalid Markup
and blocks me from seeing the View until I remove these lines from the XAML:
<dxg:TableView.ColumnMenuCustomizations>
<dxb:RemoveBarItemAndLinkAction ItemName="{x:Static dxg:DefaultColumnMenuItemNamesBase.ColumnChooser}" />
</dxg:TableView.ColumnMenuCustomizations>
It compiles and runs fine even if I keep these lines in XAML, but I can't view without removing them. And this is how one of my Views looks like if I keep them:
And the underlined warning which "invalidate the Markups", is:
The property "ColumnMenuCustomizations" does not have an accessible setter
Please open CMD and go to C:\Program Files (x86)\Microsoft Visual Studio\2019\version name\Common7\IDE folder, run the command: devenv /safemode to run your Visual Studio in safe mode. Then, create a new project and check if the installed extensions lead to the problem or not.
The freeze of the solution is caused by a feature that is meant to fasten up solution loading: parallel project initialization. It seems to be an issue that some others already had with 16.2. x versions, so it may be a regression (as it is flagged as fixed).
Designer stopped freezing once I deleted the content of this folder:
C:\Users\ ...\AppData\Local\Microsoft\VisualStudio\14.0
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With