CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2010
    Posts
    3

    Difference between Debug and Install?

    Note: Not 100% sure this is in the right forum. I'm working with C# in a Windows Form, not really .Net.

    But, I am working on a project that involves the Web Browser Control in a Windows Form where Javascript is being used inside the html pages. Specifically, alerts and "window.print()". When I test the app with Debugging (both Debug and Release) the alerts and printing works fine. When I package it up into an installer neither alerts nor printing works.

    My question is, what are the differences between an app running in Debugging and the same one ran from an installation?

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,283

    Re: Difference between Debug and Install?

    C# is .NET

    Are you sure you have added the most current version of your program to the installer ¿
    Are you sure you have installed everything properly ¿

  3. #3
    Join Date
    Mar 2004
    Location
    Prague, Czech Republic, EU
    Posts
    1,701

    Re: Difference between Debug and Install?

    If it is deploy project in VS, it is not build by default, event if you build the whole solution, you have to invoket its build manualy.
    • Make it run.
    • Make it right.
    • Make it fast.

    Don't hesitate to rate my post.

  4. #4
    Join Date
    Feb 2010
    Posts
    3

    Re: Difference between Debug and Install?

    Quote Originally Posted by HanneSThEGreaT View Post
    C# is .NET

    Are you sure you have added the most current version of your program to the installer ¿
    Are you sure you have installed everything properly ¿
    I honestly only ever thought of .Net as web based.

    The installer packages the primary output of the app, Content Files, Source Files and Documentation. I don't know of anything else it would need.

    Quote Originally Posted by boudino View Post
    If it is deploy project in VS, it is not build by default, event if you build the whole solution, you have to invoket its build manualy.
    Yes, prior to every installation I build the app.

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

    Re: Difference between Debug and Install?

    Quote Originally Posted by MoosemanDev View Post
    I honestly only ever thought of .Net as web based.
    Now you have already learnt something new then

    Is it possible to actually provide us with this application, meaning, zip it up, then attach it here. Perhaps there is something more we could identify

  6. #6
    Join Date
    Dec 2009
    Posts
    22

    Re: Difference between Debug and Install?

    Maybe you have some assemblies in you debug directory that are not properly bundled in the installation package?

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