Deploying CF 2.0 Custom Controls

S

Steve B.

Hi,

I've build some custom controls for device projects.
These controls are in a separated solution and I'd like to produce either a
msi file or a .bat file to deploy it.

Where have I to deploy the files the make the controls available for all
projects ?
And which files ? (myctrl.dll, mctrl.asmmeta.dll and myctrl.xml ?)

Thanks,
Steve
 
S

Simon Hart

You need to strong name them and add them to the GAC on the device they can
then be shared among projects.

Cheers
Simon.
 
S

Steve B.

Thanks for the answer, but I want to share the control at design time in
VS...

Steve
 
T

Tim Wilson

You can copy the control assembly (myctrl.dll) and xml doc file (myctrl.xml)
to...
"[VS 2005 Install Dir]\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE"
.... and you can copy the asmmeta assembly, or assemblies, to...
"[VS 2005 Install
Dir]\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\DesignerMetadata"
 
S

Steve B.

Thanks, it works fine, even if the controls are not added to the toolbox...

Steve


Tim Wilson said:
You can copy the control assembly (myctrl.dll) and xml doc file
(myctrl.xml)
to...
"[VS 2005 Install
Dir]\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE"
... and you can copy the asmmeta assembly, or assemblies, to...
"[VS 2005 Install
Dir]\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\DesignerMetadata"

--
Tim Wilson
.NET Compact Framework MVP

Steve B. said:
Hi,

I've build some custom controls for device projects.
These controls are in a separated solution and I'd like to produce either a
msi file or a .bat file to deploy it.

Where have I to deploy the files the make the controls available for all
projects ?
And which files ? (myctrl.dll, mctrl.asmmeta.dll and myctrl.xml ?)

Thanks,
Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top