Reputation: 7985
I've just created c++ console application in Visual Studio 2013 Ultimate.
When I run code in debug mode:
error LNK1104: cannot open file 'C:\Users\example.exe'
When I run code in release mode:
Build: 1 succeeded
Do you have any idea, why would i have LNK1104 on "debug mode" ?
Upvotes: 1
Views: 658
Reputation: 7985
Ok, I think I found the solution.
I am currently using "Bitdefender Total Security 2015" and in the antivirus part,
I found the following message
So Bitdefender exactly deleted my .exe file everytime I compile in debug version.
Solution :
Go to Antivirus part:
Click excluded files and folders on Exclusion tab
Finally add your project path
I did this way and my roject also worked in debug version.
I hope the solution is helpful
Upvotes: 3