Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Error while trying to run project: Unable to start program". Can run program only once. Then VS needs restart

I'm running my .NET 4.0 (C#) project in debug mode after I start VS2013. It runs just fine.

The second time I start it from VS, I get the Dialog box that says "Error while trying to run project: Unable to start program C:\path\to\file.exe"

The process is still alive in the Taskmanager when I dismiss the dialog box. From Windows Explorer, I can run the program just fine. And after closing it, the process is gone too from the Task Manager.

A rebuild doesn't help. Is this a common problem with a known solution?

like image 666
tzippy Avatar asked May 23 '17 12:05

tzippy


Video Answer


1 Answers

I had an issue similar to this and I had to clear the component cache instruction can be found Here.

Hope this helps.

like image 156
Tom Avatar answered Oct 31 '22 01:10

Tom