error LNK1104 - can't run any code

Whenever run code by clicking 'Start Without Debugging' I receive an error that says:
"error LNK1104: cannot open file 'C:\CS\Project1\Debug\Project1.exe'"

I have been running code fine and this error just started appearing when I try to run anything, I am using Visual Studio 2013. I am not sure what to make of this, let me know if you can help me.

Thanks,

-Alex
closed account (48T7M4Gy)
https://msdn.microsoft.com/en-us/library/ts7eyw4s.aspx
Make sure your program terminates. It might be still running.
Check if you could find the exe in Windows task manager.

Last edited on
After doing some troubleshooting, I found that my anti-virus software was not allowing the .exe file to run. Very random because I had been running files perfectly fine before yesterday.

The debug folder in my project only had a .pdb file and the anti-virus software was hiding the .ilk and .exe files.
Last edited on
closed account (48T7M4Gy)
If it's all fixed then that's great. If it's not maybe you have to run console or the .exe file in particular as administrator.
Topic archived. No new replies allowed.