Installed Visual Studio 2015. Created a project. wrote a simple program from the category of "hello world". At some point, the program stops compiling, that is, I change the cue to "hello world", and "hello world" is issued. That is, the old exe file starts. Who can tell how to overcome?

  • Add sample code to your question. Do you have a studio in English or in Russian? - Artik Slayer
  • Studio in English. - Vladimir
  • code example can be trivial to display on the screen. - Vladimir

1 answer 1

The reason for starting the old version of the code may be that the new code contains errors and, according to the environment settings, the last successful build is launched.

Check the settings on the page Tools - Options - Projects & Solutions - Build & Run :

options

  • Did not help. He began to say that there is no access to the file Error LNK1104 cannot open file 'C: \ Users \ "reduced" \ Debug \ prog.exe' - Vladimir
  • one
    @Vladimir Can you process hangs already in the list of running? This does not allow the .exe new file to be overwritten. - 伪位蔚蠂慰位蠀蟿
  • Thank you very much, I didn鈥檛 think about it - Vladimir