I am using Visual Studio 2015 CTP5, and while running the project I am unable to edit typescript, resulting in the error alert box
---------------------------
Microsoft Visual Studio
---------------------------
Edit and Continue
Changes are not allowed while code is running.
---------------------------
OK
---------------------------
Edit and continue worked fine for typescript in VS 2013. Is there an option to enable, or workaround for this to work in VS 2015? As it stands, VS15 is too cumbersome to use for typescript development.
Edit: As far as I can tell, this is not fixable at the moment, and the issue is currently on Uservoice
There is a free extension to resolve this issue: Disable No Source Available Tab available for from the VS Market Place. This small extension will prevent the tool window with title "No Source Available" from appearing in Visual Studio, and preserve the focus on the currently active tab.
Okay so the only workaround (or quasi-workaround, I guess) I have found so far is this: Visual Studio locking files while debugging.
They suggest while debugging to break all. This does indeed allow me to edit the code and then hitting play resumes the program and allows me to view changes.
It's not ideal, but it's slightly more convenient than having to recompile the whole thing. Still searching for a foolproof way to get around this without having to do anything else than saving, but this works okay for now.
Shortcuts help ease the pain. Ctrl+Alt+Break pauses it so you can edit, F5 brings you back out of it and runs the server again.
I'd rather deal with this than the buggy compile on save in VS 2013. Hopefully this gets fixed soon.
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