Visual Studio compiles but the exe isn't there

后端 未结 13 802
终归单人心
终归单人心 2021-01-17 11:22

Source code that compiles fine on other peoples environments won\'t correctly work in my environment. When I do a rebuild the compile occurs but when visual studio goes to

相关标签:
13条回答
  • 2021-01-17 12:07

    There are two subtly different paths. I was looking here, which doesn't exist:

    C:\Users\james\source\repos\CppHelloWorld\Release\CppHelloWorld.exe
    

    The actual exe is here - note the path contains the x64 platform that it was built for:

    C:\Users\james\source\repos\CppHelloWorld\x64\Release\CppHelloWorld.exe
    

    In general, the path seems to be:

    $PROJECT_PATH\$PROJECT_NAME\$PLATFORM\$CONFIGURATION\$PROJECT_NAME.exe
    
    0 讨论(0)
提交回复
热议问题