PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework Deploying CF 2.0 Custom Controls

Reply

Deploying CF 2.0 Custom Controls

 
Thread Tools Rate Thread
Old 16-01-2006, 09:03 AM   #1
Steve B.
Guest
 
Posts: n/a
Default Deploying CF 2.0 Custom Controls


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


  Reply With Quote
Old 16-01-2006, 11:03 AM   #2
Simon Hart
Guest
 
Posts: n/a
Default Re: Deploying CF 2.0 Custom Controls

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

Cheers
Simon.

"Steve B." <steve_beauge@com.msn_swap_com_and_msn> wrote in message
news:%23U1Bf6nGGHA.3916@TK2MSFTNGP10.phx.gbl...
> 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
>



  Reply With Quote
Old 16-01-2006, 11:52 AM   #3
Steve B.
Guest
 
Posts: n/a
Default Re: Deploying CF 2.0 Custom Controls

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

Steve

"Simon Hart" <srhartone@[no spam]yahoo.com> a écrit dans le message de news:
O7hQEyoGGHA.1032@TK2MSFTNGP12.phx.gbl...
> You need to strong name them and add them to the GAC on the device they
> can then be shared among projects.
>
> Cheers
> Simon.
>
> "Steve B." <steve_beauge@com.msn_swap_com_and_msn> wrote in message
> news:%23U1Bf6nGGHA.3916@TK2MSFTNGP10.phx.gbl...
>> 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
>>

>
>



  Reply With Quote
Old 16-01-2006, 01:50 PM   #4
Tim Wilson
Guest
 
Posts: n/a
Default Re: Deploying CF 2.0 Custom Controls

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." <steve_beauge@com.msn_swap_com_and_msn> wrote in message
news:%23U1Bf6nGGHA.3916@TK2MSFTNGP10.phx.gbl...
> 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
>
>



  Reply With Quote
Old 16-01-2006, 02:36 PM   #5
Steve B.
Guest
 
Posts: n/a
Default Re: Deploying CF 2.0 Custom Controls

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

Steve


"Tim Wilson" <TIM(UNDERSCORE)WILSON(AT)ROGERS(PERIOD)COM> a écrit dans le
message de news: e9KuyOqGGHA.2684@TK2MSFTNGP11.phx.gbl...
> 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." <steve_beauge@com.msn_swap_com_and_msn> wrote in message
> news:%23U1Bf6nGGHA.3916@TK2MSFTNGP10.phx.gbl...
>> 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
>>
>>

>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off