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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. C# Deployment Question

C# Deployment Question

Scheduled Pinned Locked Moved C#
csharpsysadminquestion
5 Posts 4 Posters 1 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.
  • L Offline
    L Offline
    Larry J Siddens
    wrote on last edited by
    #1

    OK, I guess I'm just stupid, but. I have a C# app that I created and want to send it to someone else. What needs to be sent along (with the .exe) so they can run it. Thanks. Larry J. Siddens

    M N 2 Replies Last reply
    0
    • L Larry J Siddens

      OK, I guess I'm just stupid, but. I have a C# app that I created and want to send it to someone else. What needs to be sent along (with the .exe) so they can run it. Thanks. Larry J. Siddens

      M Offline
      M Offline
      Mazdak
      wrote on last edited by
      #2

      Well, generally if that person has .NET framework installed on his/her machine it will works, but if your program has configuration,database files or using custom assemblies it should be shiped with exe file,so typically it is better to create Set up project for your projects and add your settings and file to it and ship installshield only,not only the exe file. Mazy No sig. available now.

      1 Reply Last reply
      0
      • L Larry J Siddens

        OK, I guess I'm just stupid, but. I have a C# app that I created and want to send it to someone else. What needs to be sent along (with the .exe) so they can run it. Thanks. Larry J. Siddens

        N Offline
        N Offline
        Niels Penneman
        wrote on last edited by
        #3
        1. Create an installer for your app in VS.NET OR 2) No installer First of all, the .NET framework should be installed on the target computer. Include dotnetfx.exe it's on the component update disk / prerequisities disk of VS.NET... Next thing to do is to check te references. If all references are made to files of the .NET framework you don't have to include any more files. If you have used custom .NET dlls (in app directory if you have chosen copy local) or COM dlls (via interop) you should include these in your distribution (COM: dll AND interop dll files, interop files are in your app output dir, main dll can be anywhere) greetz ;-) *Niels Penneman*

        Software/Dev Site
        Personal Site


        L 1 Reply Last reply
        0
        • N Niels Penneman
          1. Create an installer for your app in VS.NET OR 2) No installer First of all, the .NET framework should be installed on the target computer. Include dotnetfx.exe it's on the component update disk / prerequisities disk of VS.NET... Next thing to do is to check te references. If all references are made to files of the .NET framework you don't have to include any more files. If you have used custom .NET dlls (in app directory if you have chosen copy local) or COM dlls (via interop) you should include these in your distribution (COM: dll AND interop dll files, interop files are in your app output dir, main dll can be anywhere) greetz ;-) *Niels Penneman*

          Software/Dev Site
          Personal Site


          L Offline
          L Offline
          Larry J Siddens
          wrote on last edited by
          #4

          What is the dotnetfx.exe? Larry J. Siddens

          K 1 Reply Last reply
          0
          • L Larry J Siddens

            What is the dotnetfx.exe? Larry J. Siddens

            K Offline
            K Offline
            Kentamanos
            wrote on last edited by
            #5

            That's the .NET Framework installation. Take a look here. EDIT: Here's a more direct link.


            I, for one, do not think the problem was that the band was down. I think that the problem may have been that there was a Stonehenge monument on the stage that was in danger of being crushed by a dwarf.
            -David St. Hubbins

            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