none
Unable to find a version of the runtime to run this application

    Question

  • Hi,

    I have developed a C-sharp application. But I am not sure how to run it using the .exe file. When I open the application from within Visual Studio 2008 IDE, I can first build the application and then under "debug" menu I select "start debugging". So it starts running. So I am able to run application that way. But if I put my cursor on the \bin\Debug\Application.exe , and do a right mouse click on "run as"  I get the error Unable to find a version of the  runtime to run this application.

    I could be getting this error because I have not taken any steps to create a proper executable. I just went to \bin\Debug and found Application.exe and did right mouse click on "run as". Can you tell what steps need to be taken to create a proper executable, other than just "BUILD"

    Friday, February 19, 2010 9:39 PM

Answers

  • Hi Diana4,

    Thank you for your post.

    To run the Application.exe in the folder ..\bin\Debug\, we can just double click this file to invoke the application.

    Could you please help me to check whether you can run this application by double-click?

    Hope this helps! If you have any concern, please feel free to let me know.

    Best regards,
    Yichun Chen
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    • Marked as answer by YiChun Chen Friday, February 26, 2010 2:45 AM
    • Unmarked as answer by Diana4 Tuesday, March 02, 2010 6:56 PM
    • Marked as answer by Diana4 Wednesday, March 03, 2010 5:56 AM
    Monday, February 22, 2010 10:52 AM

All replies

  • Hi Diana4,

    Thank you for your post.

    To run the Application.exe in the folder ..\bin\Debug\, we can just double click this file to invoke the application.

    Could you please help me to check whether you can run this application by double-click?

    Hope this helps! If you have any concern, please feel free to let me know.

    Best regards,
    Yichun Chen
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    • Marked as answer by YiChun Chen Friday, February 26, 2010 2:45 AM
    • Unmarked as answer by Diana4 Tuesday, March 02, 2010 6:56 PM
    • Marked as answer by Diana4 Wednesday, March 03, 2010 5:56 AM
    Monday, February 22, 2010 10:52 AM
  • Yes, double clicking works. thank you
    Monday, October 25, 2010 10:59 PM