Deploy query

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • itsmytime
    New Member
    • Sep 2008
    • 1

    Deploy query

    Hello everyone
    i m new to the world of visual c#... for now i have created a small application ... now i want to send it to my friends.. my query is how do i deploy it and send it to others.. its a small application and i dont want any installation wizard.. it is just like click and run application.. initially i sent a copy of .exe file which is in the BIN folder of respective project.. but it was not working on friends system.. so how do i go about this ?? how can i get this done ??
  • cloud255
    Recognized Expert Contributor
    • Jun 2008
    • 427

    #2
    Well, if you want to do it without an installer, try to copy the entire bin folder, if the application still fails to run, yo will need to check and ensure that the machine has the correct version of the .NET framework installed.

    Comment

    • Curtis Rutland
      Recognized Expert Specialist
      • Apr 2008
      • 3264

      #3
      You shouldn't need the whole bin folder. Did you add any references?

      Also, as cloud said, check the framework version on your friend's computers.

      Comment

      • Drupan c
        New Member
        • Aug 2008
        • 10

        #4
        Originally posted by insertAlias
        You shouldn't need the whole bin folder. Did you add any references?

        Also, as cloud said, check the framework version on your friend's computers.


        well even i had a same query here.. i tried sending only the .exe file in bin folder and did not work on the other system but when bin folder was copied the app was working fine.. is there any way i can make it a single deploy able app rather than copying three files???

        Comment

        • Shashi Sadasivan
          Recognized Expert Top Contributor
          • Aug 2007
          • 1435

          #5
          What error was it giving?
          Are you using anything apart from just the .net framework ?

          Comment

          • Curtis Rutland
            Recognized Expert Specialist
            • Apr 2008
            • 3264

            #6
            See if there are any DLLs in the bin folder.

            Tell us, when you were building the app, did you add any references?

            Comment

            • Kapps
              New Member
              • Aug 2008
              • 16

              #7
              There are many reasons for this. For example, certain references will require the DLL and will check for the DLL in the folder of the application itself. Because you are not sending the DLL, it will fail. Perhaps you are trying to load a file/image from the folder upon startup? This will cause it to fail too, as you are only sending the .exe. Most likely, you are missing the .DLL's.

              Comment

              Working...