I need a help with Visual Studio 2017

Discussion in 'Programmer's Corner' started by Balan IC, Oct 11, 2017.

  1. Balan IC

    Thread Starter New Member

    Nov 6, 2016
    3
    0
    I run Visual Studio 2017 and C++ program not start because appears on the screen "Unable to start program.....This system cannot find the file specified."
    This is screen:

    balan_error.jpg
     
  2. WBahn

    Moderator

    Mar 31, 2012
    20,245
    5,758
    Did you build the solution?

    Did it give any build errors?

    Are you building the Debug solution and not the Release solution?

    Have you looked in the project folders to see which, if any, have .exe files?
     
  3. Picbuster

    Active Member

    Dec 2, 2013
    549
    67
    Remove VS17 check for any leftovers in registry.
    Restart Pc and re install VS 17 make sure that every step is OK.
    At a certain moment the system will ask you to define maps/ files to stuff the goodies in.
    Use, if possible, the default locations.
    MS will give support when purchased within the last period. ( I think one year but not sure)

    Good luck.
    Picbuster
     
  4. MrSoftware

    Active Member

    Oct 29, 2013
    726
    201
    Build the project, look in the output pane for build errors. The output will tell you if the .exe file was created or not. If the .exe was not created, then fix the errors and try
    again. If the .exe was created, then check the debug settings for your project to make sure it is pointing to the output directory.

    Typically the default settings for output a debug directories work great. If you start moving things around and specifying different output directories, etc.. then you have to pay attention or the debugger won't be able to find things.
     
Loading...