"parez" <ps*****@gmail.comwrote in message
news:bf**********************************@d62g2000 hsf.googlegroups.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