Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio: edit xaml while debugging (without stopping debugging)

I've got the very same problem as this question: Edit Xaml while debugging with a twist.

My debug session usually runs some code while I need to change stuff in the XAML, and if I detach all, as recommended as answer in that question, the debugged program might run on, but the WCF services which are also hosted in the debugger will be stopped immediately.

And without service my programm usually last mere seconds.

So, is there a way to exit xaml files during debugging? I don't care for debug and continue, I'm aware the changes will take effect only after a restart of the app. I just need to type in some stuff so I won't forget and am annoyed that I have to use an external editor instead of VS.

like image 680
Sam Avatar asked Nov 13 '22 09:11

Sam


1 Answers

I always use another tool. Like notepad++ or expression blend.

You can configure this by right clicking the file -> open with. Or with expression blend you get the open in expression blend option and its pretty good for xaml anyways.

like image 57
Tim Avatar answered Nov 23 '22 23:11

Tim