Search code examples
c++buildvisual-studio-2019

Visual Studio 2019 Always run OLD version code


I tried many things that searched on google.

listing I had.

  1. Project -> Property -> Debugging -> Debugging = Auto
  2. Build -> Configuration Manager -> Check OK "BUILD" option ( Also I checked solution platforms and configs. )
  3. Tools -> Option -> Build & Run -> Always Build. and Uncheck "just startup project & dependencys"

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)


Solution

  • 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!