Results 1 to 4 of 4

Thread: Troubles while creating exe file in .net

  1. #1
    Join Date
    Jan 2009
    Posts
    45

    Troubles while creating exe file in .net

    Hi Guys,

    I developing the project in the .net.But I don't know how to create exe file.
    I have read lots of books but didn't get the solution over this.

    Can anybody know the procedure of making exe file in .net?
    Your help will be greatly appreciated...

  2. #2
    Join Date
    Feb 2008
    Posts
    1,852

    Re: Troubles while creating exe file in .net

    Hi,

    You can create exe file using two ways below:

    Procedure I:

    The /Target:exe option causes the compiler to make an exe file.

    Each of the following command compile in.cs, which creates .exe:
    i) csc /Target:exe in.cs
    ii)csc in.cs

    Procedure II:

    The /target:winexe option let the compiler to make an exe.

    Compile the in.cs in a Windows program, see below command:

    1. csc /target:winexe in.cs

  3. #3
    Join Date
    Jan 2008
    Posts
    1,521

    Re: Troubles while creating exe file in .net

    We can create .exe file by making windows application project
    For this first you have to go through Create Project. and then select windows application template.

    Other than above method I don't know how to create exe. Please do this procedure and let me know if is helpful to you.

  4. #4
    Join Date
    Apr 2008
    Posts
    1,948

    Re: Troubles while creating exe file in .net

    You will have to follow below step while creating exe file in .net.

    i)At starting create a project and make the application of the same. ii)Do unit testing so as to the application will run successfully.

    iii)Open file menu then select add then new project ,now “add new project” dialog . Choose “other project types” and select “setup and deployment” projects,Choose “Setup Project”

    iv)Then right click the TestAddition option then go View ,then select “file system”.Choose application folder and then right click on Add ,then select Project Output,choose Primary output.

    v)Choose User’s Desktop then right click on the second window, after that select create new shortcut and finally chooseoutput.
    After doing this ,select file from Application folder and change the file name from primary output name to name of the exe you want.

Similar Threads

  1. Creating .dst file format
    By Cheenu in forum Windows Software
    Replies: 5
    Last Post: 21-07-2011, 07:08 PM
  2. Replies: 1
    Last Post: 21-05-2011, 06:01 AM
  3. creating a script for a host file
    By mopat in forum Technology & Internet
    Replies: 1
    Last Post: 07-07-2010, 11:44 PM
  4. Creating a New Policy File in java
    By technika in forum Software Development
    Replies: 4
    Last Post: 18-02-2010, 10:28 PM
  5. Creating xml File from database table in VB.Net
    By Jateen in forum Software Development
    Replies: 2
    Last Post: 29-12-2008, 06:20 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,526,387.41619 seconds with 16 queries