Here's what I got:

I have a User Control that is in its own .dll that optional uses another
control that is in another .dll. The problem that I have is when I run my
Sample code, I get an error about the control in the 2nd .dll cannot be
found. I looked on the device, the .dll is not deployed.

How do I get the 2nd .dll to be deployed with the other .dll?


I am using VS2005. The User Control references the other control by project
references. Everything builds and installs, but the 2nd .dll is not deployed
when running the sample code. I know its on the machine, because it shows in
the designer. I just need to tell the deployment to a device to always
include this 2nd .dll.

Thank you in advance for your help!

Re: Deployment Question by ctacke/>

ctacke/>
Wed Mar 05 14:38:20 CST 2008

Select the the reference, then change it's "Copy Local" property to true.


--

Chris Tacke, eMVP
Join the Embedded Developer Community
http://community.opennetcf.com


"Craig" <Craig@discussions.microsoft.com> wrote in message
news:EA8C83ED-3CB4-4F87-B97D-8E06533C176E@microsoft.com...
> Here's what I got:
>
> I have a User Control that is in its own .dll that optional uses another
> control that is in another .dll. The problem that I have is when I run my
> Sample code, I get an error about the control in the 2nd .dll cannot be
> found. I looked on the device, the .dll is not deployed.
>
> How do I get the 2nd .dll to be deployed with the other .dll?
>
>
> I am using VS2005. The User Control references the other control by
> project
> references. Everything builds and installs, but the 2nd .dll is not
> deployed
> when running the sample code. I know its on the machine, because it shows
> in
> the designer. I just need to tell the deployment to a device to always
> include this 2nd .dll.
>
> Thank you in advance for your help!
>
>