Unable to start program 'http://localhost/Default.aspx'. VS2010

前端 未结 15 2015
猫巷女王i
猫巷女王i 2021-02-08 17:05

I cannot start my website from Visual Studio 2010 anymore.

For a few days I cannot start my project in a web browser using F5. When I open my web application directly by

15条回答
  •  伪装坚强ぢ
    2021-02-08 17:49

    I had the same problem. When I debug my code it says:

    Unable to start program 'C:\homework.exe'. this system cannot find the file specified."

    I'm using Microsoft Visual C++ 2010 Express but when I made a new project by the following steps:

    Open C++:

    1. Press new project
    2. Press win32
    3. Press win32 Console Application
    4. Rename it
    5. Click next
      make sure: that the application type is console application
      additional options: empty project*
    6. Press Ctrl+Shift+A
    7. In Visual C++/Code section press C++ File (.cpp)
    8. rename it and press add

    It works fine with for me now.

提交回复
热议问题