, (Edit and Continue) , . , .
, VS Program.cs( ) , .
, . , , ( > > ). , Program.cs, , , .
Alternatively, write an application that runs in the background and monitors VS activity, and when it sees that Program.cs is open, close it. For this, you will need the API functions from "user32", such as FndWindow, GetWindowText, etc. There are many code examples showing how to "spy" and manage another application.
source
share