ayi <p>Erreur Visual Studio 2017 : Unable to start program, An operation is not legal in the current state</p> <hr> <p><em>Source : <a href="https://i.sstatic.net/jPqw8.png" rel="noopener nofollow ugc">Stack Overflow [visual-studio]</a></em></p>
ayi_2 <p>Pour moi, la solution (contournement) est de désactiver le débogage JavaScript sur Chrome, qui est je crois une nouvelle fonctionnalité introduite dans VS 2017.</p> <p>Allez dans <strong>Tools > Options > Debugging > General</strong> et désactivez le paramètre <strong>Enable JavaScript Debugging for <a href="http://ASP.NET">ASP.NET</a> (Chrome and IE)</strong>.</p> <p><a href="https://i.sstatic.net/jPqw8.png"></a></p> <p>C’est un problème connu, et <a href="https://developercommunity.visualstudio.com/content/problem/25008/chrome-debugging-crashes-vs-with-an-operation-is-n.html">une investigation semble être en cours</a>.</p> <p>Informations complètes sur le débogage JS dans VS 2017 ici :<br> <a href="https://devblogs.microsoft.com/dotnet/client-side-debugging-of-asp-net-projects-in-google-chrome/">https://devblogs.microsoft.com/dotnet/client-side-debugging-of-asp-net-projects-in-google-chrome/</a></p>