Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. creating exe

creating exe

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpvisual-studiotutorial
10 Posts 8 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Amar insane
    wrote on last edited by
    #1

    Hi, can someone pleez teel me how to create an exe file out of your c# code in Micro soft visual studio 2010.

    D P N A 4 Replies Last reply
    0
    • A Amar insane

      Hi, can someone pleez teel me how to create an exe file out of your c# code in Micro soft visual studio 2010.

      D Offline
      D Offline
      Dr Walt Fair PE
      wrote on last edited by
      #2

      Have you tried to build your application?

      CQ de W5ALT

      Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software

      A A 2 Replies Last reply
      0
      • D Dr Walt Fair PE

        Have you tried to build your application?

        CQ de W5ALT

        Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software

        A Offline
        A Offline
        Amar insane
        wrote on last edited by
        #3

        yes i have. i wanted to know. how do we get a single icon which we can click and get you application running. without opening the visual studio.

        D 1 Reply Last reply
        0
        • A Amar insane

          yes i have. i wanted to know. how do we get a single icon which we can click and get you application running. without opening the visual studio.

          D Offline
          D Offline
          Dr Walt Fair PE
          wrote on last edited by
          #4

          Well, I'm still using VS 2008, but if the layout is the same, there should be an exe file created in a subdirectory of your project\bin directory. However, if you want to distribute your app and it needs any other libraries, etc., you should create a Setup Project or Publish it from the Build menu, assuming the menu layout of VS 2020 is similar to 2008. I create a Setup project for all of my applications and when I get things working the way I want, I just build the setup project and create an installable msi file.

          CQ de W5ALT

          Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software

          1 Reply Last reply
          0
          • A Amar insane

            Hi, can someone pleez teel me how to create an exe file out of your c# code in Micro soft visual studio 2010.

            P Offline
            P Offline
            Pravin Patil Mumbai
            wrote on last edited by
            #5

            Build a solution, you will find the exe file in the output folder. If you want to build the exe file from command line then there is a command line utility csc.exe to make an exe file from cs file. Refer http://msdn.microsoft.com/en-us/library/78f4aasd.aspx[^] for the same. Hope this helps. All the best.

            I quit being afraid when my first venture failed and the sky didn't fall down.

            1 Reply Last reply
            0
            • A Amar insane

              Hi, can someone pleez teel me how to create an exe file out of your c# code in Micro soft visual studio 2010.

              N Offline
              N Offline
              Not Active
              wrote on last edited by
              #6

              If you have to ask you're in the wrong career. Perhaps something in sales would better suit you.


              I know the language. I've read a book. - _Madmatt

              1 Reply Last reply
              0
              • A Amar insane

                Hi, can someone pleez teel me how to create an exe file out of your c# code in Micro soft visual studio 2010.

                A Offline
                A Offline
                Abhinav S
                wrote on last edited by
                #7

                You need to invoke the compiler csc.exe. You can do this via Visual Studio directly by using the Build menu option or via the command line[^].

                Too much of heaven can bring you underground Heaven can always turn around Too much of heaven, our life is all hell bound Heaven, the kill that makes no sound

                1 Reply Last reply
                0
                • D Dr Walt Fair PE

                  Have you tried to build your application?

                  CQ de W5ALT

                  Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software

                  A Offline
                  A Offline
                  amol pushp sharma
                  wrote on last edited by
                  #8

                  i m understand yr ans; pls define specifically :doh:

                  D E 2 Replies Last reply
                  0
                  • A amol pushp sharma

                    i m understand yr ans; pls define specifically :doh:

                    D Offline
                    D Offline
                    Dave Kreskowiak
                    wrote on last edited by
                    #9

                    You REALLY need to pickup a beginners book on whatever language you're using and work through it. You make an .EXE file every time you run your app from inside Visual Studio. He was telling you where to find it, but apparently you have no idea where your project files are saved. Look in %USERPROFILE%\Documents\Visual Studio 2010\Projects.

                    A guide to posting questions on CodeProject[^]
                    Dave Kreskowiak

                    1 Reply Last reply
                    0
                    • A amol pushp sharma

                      i m understand yr ans; pls define specifically :doh:

                      E Offline
                      E Offline
                      Edward Giles
                      wrote on last edited by
                      #10

                      Here is the exact path where (project name) is the project name : %USERPROFILE%\Documents\Visual Studio 2010\Projects\(project name)\bin\debug\

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups