ロック済み .exe file

  • 2012年7月31日 18:32
     
     
    I am just starting with visual c# 2010 express. I have made a couple of small programs that I want to try out but I can't find how to make an executable file to try on another computer. Any ideas out there?

すべての返信

  • 2012年7月31日 19:08
    モデレータ
     
     回答済み

    Create a new project as a console or windows application.  When you build, this will make an .exe file.

    As long as you install the .NET framework on the other system, that exe file should run.  You may need to include any dependencies your program uses, as well.


    Reed Copsey, Jr. - http://reedcopsey.com
    If a post answers your question, please click "Mark As Answer" on that post and "Mark as Helpful".

  • 2012年8月1日 22:26
     
     回答済み

    you can try to release the application you have written instead of debugging it. there is a little green triangle by which you debug your application. right?

    there is a combo box right in front of that triangle. by default it is debug. all you need to do is to set it to release:

    then press the green triangle to release an executable version of your application.

    now you need to find the exe file. you can find it in the following directory in your computer:

    My Documents\Visual Studio 2010\Projects\"project name"\"project name"\bin\Release

    If a post answers your question, please click "Mark As Answer" on that post and "Mark as Helpful