publish win forms application .net 3.0 vs2008

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • parez

    publish win forms application .net 3.0 vs2008

    Hi,

    I am developing a .net 3.0 win forms(C#) application using vs2008. I
    am also using 3rd party controls which are installed in the the GAC.
    After i publish the application on the different computer, the
    installer says that i need the 3rd party control installed in the GAC.
    Is there any way i can copy those DLLs when i publish?or how do I go
    about this?

    TIA

  • parez

    #2
    Re: publish win forms application .net 3.0 vs2008

    On Apr 2, 4:41 pm, parez <psaw...@gmail. comwrote:
    Hi,
    >
    I am developing a .net 3.0 win forms(C#) application using vs2008. I
    am also using 3rd party controls which are installed in the the GAC.
    After i publish the application on the different computer, the
    installer says that i need the 3rd party control installed in the GAC.
    Is there any way i can copy those DLLs when i publish?or how do I go
    about this?
    >
    TIA
    I found it.. Under project properties. Publish Tab , Application Files
    Button, and select include for the files

    Comment

    • RobinS

      #3
      Re: publish win forms application .net 3.0 vs2008


      "parez" <psawant@gmail. comwrote in message
      news:bf065fb4-ad6b-44fe-86fb-4210938b5470@d6 2g2000hsf.googl egroups.com...
      On Apr 2, 4:41 pm, parez <psaw...@gmail. comwrote:
      >Hi,
      >>
      >I am developing a .net 3.0 win forms(C#) application using vs2008. I
      >am also using 3rd party controls which are installed in the the GAC.
      >After i publish the application on the different computer, the
      >installer says that i need the 3rd party control installed in the GAC.
      >Is there any way i can copy those DLLs when i publish?or how do I go
      >about this?
      >>
      >TIA
      >
      I found it.. Under project properties. Publish Tab , Application Files
      Button, and select include for the files
      To put files in the GAC using a ClickOnce deployment, if someone with
      Windows Vista tries to run it, it won't work.

      The better thing to do is write a separate package just to install your
      stuff in the GAC, then deploy that as a prerequisite.

      Are you sure the dll's have to be installed in the GAC? Try deploying them
      locally and see if the application will run. This removes the problem of
      installing in the GAC, and gives you complete control over your versions
      that you use and deploy.

      To deploy them locally, when adding hte reference to your project, set Copy
      to Always. Then it will include it in the deployment.

      As an example, we are deploying DirectX dll's locally rather than installing
      them in the GAC.

      Good luck.
      RobinS.
      GoldMail.com

      Comment

      Working...