Search code examples
c#wpfxamlvisual-studio-2013

Visual Studio hangs after changes in a XAML file


I recently got into a strange problem, it seem to have happen randomly.

When I make changes inside a XAML-file (It can be anything, change text in a button, change color of background etc.) my visual studio hangs when starting my program.

Does anyone know how to fix this really annoying problem?


Solution

  • I posted a thread about this on MSDN's forum too, and I got an answer which did the trick:

    Apparently I had to delete the Project Solution file and then run the .csproj file.

    Don't really know why but this made it work again! So if anyone has been experiencing this problem, try the solution above.

    EDIT:

    Link to the answer on MSDN