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. C#
  4. Publishing a console application?

Publishing a console application?

Scheduled Pinned Locked Moved C#
questionannouncementworkspace
3 Posts 3 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.
  • G Offline
    G Offline
    Goalie35
    wrote on last edited by
    #1

    I'm trying to figure out the correct way of compiling the final version of a console application for other people to use. I've done the "Build project" way, but then the user has to copy over all of the DLL files in my "bin" directory in order to get it to work. This way isn't very professional. I've also done the "publish project" option, however when I publish it, I get 2 "application manifest" files (1 names "MyProject_1_0_0_0" and another simply names "MyProject"), a directory containing the DLL's (usually called "MyProject_1_0_0_0"), and a setup.exe file. I'm unsure of which ones to send over, so I just send them all over. This way isn't very professional either. So, what's the correct way to compile my final version of a console application before handing it off to a user? Thanks. -Goalie35

    L Mircea PuiuM 2 Replies Last reply
    0
    • G Goalie35

      I'm trying to figure out the correct way of compiling the final version of a console application for other people to use. I've done the "Build project" way, but then the user has to copy over all of the DLL files in my "bin" directory in order to get it to work. This way isn't very professional. I've also done the "publish project" option, however when I publish it, I get 2 "application manifest" files (1 names "MyProject_1_0_0_0" and another simply names "MyProject"), a directory containing the DLL's (usually called "MyProject_1_0_0_0"), and a setup.exe file. I'm unsure of which ones to send over, so I just send them all over. This way isn't very professional either. So, what's the correct way to compile my final version of a console application before handing it off to a user? Thanks. -Goalie35

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #2

      Goalie35 wrote:

      So, what's the correct way to compile my final version of a console application before handing it off to a user?

      You dont have to publish anything (I think thats to do with click once). The content in the bin\Release directory should be sufficient :)

      xacc.ide - now with TabsToSpaces support
      IronScheme - 1.0 alpha 4a out now (29 May 2008)

      1 Reply Last reply
      0
      • G Goalie35

        I'm trying to figure out the correct way of compiling the final version of a console application for other people to use. I've done the "Build project" way, but then the user has to copy over all of the DLL files in my "bin" directory in order to get it to work. This way isn't very professional. I've also done the "publish project" option, however when I publish it, I get 2 "application manifest" files (1 names "MyProject_1_0_0_0" and another simply names "MyProject"), a directory containing the DLL's (usually called "MyProject_1_0_0_0"), and a setup.exe file. I'm unsure of which ones to send over, so I just send them all over. This way isn't very professional either. So, what's the correct way to compile my final version of a console application before handing it off to a user? Thanks. -Goalie35

        Mircea PuiuM Offline
        Mircea PuiuM Offline
        Mircea Puiu
        wrote on last edited by
        #3

        Visual Studio .NET allows you to specify files to be included in a deployment project (whatever your application might be). See details[^].

        SkyWalker

        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