CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2000
    Location
    Oxford, UK.
    Posts
    352

    Red face how do you deploy a csharp application?

    [ I concur with Hannes and DataMiser (see below); Question is therefore reinstated -BioPhysEngr ]

    I know this sounds like a simple question, but let's not forget we're using MS technologies here.

    How do I get my application, all dlls and things into a single file that I can send to someone for them to run on their PC? I tried to use the "publish" thing in devstudio but it makes no sense to me, and it didn't work. When I install the setup.exe it says "Application validation did not succeed. Unable to continue".
    Last edited by BioPhysEngr; June 2nd, 2012 at 11:47 PM. Reason: reinstated the question

  2. #2
    Join Date
    May 2012
    Posts
    9

    Re: how do you deploy a csharp application?

    I haven't figured it out yet either... there are very different tutorials and how to do's online but non work right or are too complicated. I wish microsoft would stop fixing things that were not broken! But then again, they have to make money somehow, and that's by selling you the next version that fixes this and breaks other things!

  3. #3
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,284

    Exclamation Re: how do you deploy a csharp application?

    Quote Originally Posted by c94wjpn View Post
    deleted
    AND NOW?? Why did you delete your post?? Somebody has replied to your question.

    This is unfair to the forum members, because they cannot see your original question. This is selfish.

    Please edit your post to reflect your question.

  4. #4
    Join Date
    May 2012
    Posts
    9

    Re: how do you deploy a csharp application?

    Quote Originally Posted by HanneSThEGreaT View Post
    AND NOW?? Why did you delete your post?? Somebody has replied to your question.

    This is unfair to the forum members, because they cannot see your original question. This is selfish.

    Please edit your post to reflect your question.
    He asked how do you deploy a csharp application!? lol

  5. #5
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,284

    Re: how do you deploy a csharp application?

    Quote Originally Posted by philosophe View Post
    He asked how do you deploy a csharp application!? lol
    That is not the point. The point is that he has deleted his original post, rendering this thread entirely USELESS for anybode else with the same problem

  6. #6
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: how do you deploy a csharp application?

    I never have been able to understand why some people will post a question then come back and delete it aftewards. Makes no sense and does no one else any good.

    As for the question in the thread title. VS has a setup project template which can be used to create a installer package for your program. I have never used the express edition but it seems like I have saw something about this not being included with it. Not surprising since express version is free.

    For many C# projects there is not even a need for an installer, just copy the exe to the target pc and if the framework is there which is likely the case it will work just fine. If you have used 3rd party dlls then it is a bit different but basic programs need only the framework to run.
    Always use [code][/code] tags when posting code.

  7. #7
    Join Date
    Feb 2011
    Location
    United States
    Posts
    1,016

    Re: how do you deploy a csharp application?

    [ I have re-instated the question, concurring with the logic of Hannes and DataMiser ]

    In answer to the question: have a look at ILMerge (see link).
    Best Regards,

    BioPhysEngr
    http://blog.biophysengr.net
    --
    All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured