I’m building WinForms application using Visual Studio 2010. Every time I make a change in the code I have to run the application and check how it works. The problem is that I do this frequently and once I forget to close the previous instance of the application the compiler generates error “The process cannot access the file bin\Debug….”. Is it possible to make Visual Studio close the running instance before performing build?
I’m building WinForms application using Visual Studio 2010. Every time I make a change
Share
An idea: Make a pre-build step for the executable project that uses Taskkill to kill the process. Read more about Taskkill here: http://technet.microsoft.com/en-us/library/bb491009.aspx