Reputation: 500
I tried many things that searched on google.
listing I had.
Those are what I did to build every pressing F5.
It doesn't work. even though I restart computer or visual studio.
What should I do for it?
ps. My Project is Visual Studio C++ (Empty)
Upvotes: 0
Views: 3888
Reputation: 9641
This may be due to your visual studio having settings that launch the old working code if the current code has some issues.
You could change that setting using the below steps:
Tools > Options > Project and Solutions > Build and Run
Do below settings on the left pull-down menu
On Run, when build or deployment error occurs > Do not launch
Upvotes: 3
Reputation: 44
I had the same problem. Looking for days but finally i found a solution. The first step is to completely delete Visual Studio (installer as well,yes) and then install it again.This time check on "general options" and not "recommended for C++" in the beginning of the installation(Its where you choose the color of the IDE).I know it's sounds..weird.Let me know if it worked for you too!
Upvotes: 2