Still.Tony
Still.Tony

Reputation: 1434

Visual Studio 2013 crashing when opening XAML

I have a C# WPF project I can open just fine in VS 2010 Ultimate or 2013 Ultimate.

I can edit it and run it from either.

When I double click the window.xaml, it crashes 2013.

I disabled then uninstalled my extensions. Still crashes.

I spent more than half the day uninstalling (uninstall is broken, btw) and re-installing VS 2013 Ultimate. Still crashes.

Per comment, here's a screenshot of the error: error message

Actually just tried to create a clean WPF project and it crashes the same way while attempting to create a new WPF project.

Upvotes: 1

Views: 1948

Answers (2)

csharpwinphonexaml
csharpwinphonexaml

Reputation: 3683

Always check this folder for any VS errors

%APPDATA%\Microsoft\VisualStudio\PUTYOURVSVERSIONHERE\ActivityLog.xml

If the folder doesn't exist or is empty, run Visual Studio with this command:

devenv.exe /log

Upvotes: 3

Lukkha Coder
Lukkha Coder

Reputation: 4460

There could be many reasons. This one for example was because of an outdated driver. There may be workarounds, however which one to use will depend on the error you see. Can you update your question with the error message?

Upvotes: 1

Related Questions