If you work in XAML pages, sometime you might noticed that the XAML page freezes for sometime while opening the page in design view. This is very annoying and many time it is responsible to crash the Visual Studio IDE. So what to do?

 

If you use Expression Blend to design the XAML page or don't want to open the XAML in design view, this small tip will help you to improve the performance of the IDE. Read more to know.

 

If you noticed that your Visual Studio IDE freezes or crashes while opening any XAML file, just follow the below mentioned steps to enable the IDE to open the page always in XAML view instead of the Design view.

 

Inside the Visual Studio IDE, go to the Tools menu and click on the "Options" menu item to open up the options dialog as shown below:

 

Open Tools menu - Options

 

Inside the options dialog, expand the "Text Editor" tree item and find out the XAML tree as shown below. Expand the XAML tree item too and select the "Miscellaneous" item. This will open the miscellaneous tab in the right panel. Find out the section called "Default View" and make sure that the checkbox titled "Always open documents in full XAML view" is checked; if not, just check it to enable the feature. Click "OK" to save the settings.

 

Change Settings to Open the documents in full XAML view

 

Now, whenever you open any XAML file in Visual Studio, it will open that in full XAML view and make your IDE responsive. Hope this tip help you to improve your productivity. If this helped you, please drop a line below and help me to come with some other new tips for you. Enjoy coding...

Have a question? Or, a comment? Let's Discuss it below...

Thank you for visiting our website!

We value your engagement and would love to hear your thoughts. Don't forget to leave a comment below to share your feedback, opinions, or questions.

We believe in fostering an interactive and inclusive community, and your comments play a crucial role in creating that environment.