Deploying CF 2.0 Custom Controls

  • Thread starter Thread starter Steve B.
  • Start date Start date
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
 
You need to strong name them and add them to the GAC on the device they can
then be shared among projects.

Cheers
Simon.
 
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"
 
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
 
Back
Top