By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,863 Members | 1,766 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,863 IT Pros & Developers. It's quick & easy.

publish win forms application .net 3.0 vs2008

P: n/a
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

Apr 2 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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
Apr 2 '08 #2

P: n/a

"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

Apr 8 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.