Visual Studio 2017: Program in Invalid State: disable javascript debugging

With VS2017 and an asp.net project, you may get “Cannot start program, it’s in an invalid state”. This may be related to “enable javascript debugging for asp.net (chrome and ie)”.

Try restarting Chrome, IE or Edge.

Try turning off javascript debugging: in the quick launch bar type “javascript debugging” and enter. This takes you to Tools-Options-Debugging-General. FindĀ “enable javascript debugging for asp.net (chrome and ie)” and untick it.

References:

https://www.johanbostrom.se/blog/how-to-disable-the-built-in-chrome-from-starting-when-debugging-in-visual-studio-2017/

 

Leave a Reply

Your email address will not be published. Required fields are marked *

Website by Daneswood