If the .NET CF v2 runtime is installed on your device, your scenario can be
made to work. However, by default an application built with the v1 tools
will use the v1 runtime if it is installed and that will not allow you to
use any libraries created with v2 tools. So if both the v1 and v2 runtimes
are installed, you will need to use a .config file to tell .NET CF to use
the v2 runtime even though it is a v1 app. See
http://blogs.msdn.com/stevenpr/archi...30/344540.aspx for more
information about that.
If only .NET CF v2 is installed on the device, everything should just
magically work.
Brian
--------------------
>From: "Steve B." <(E-Mail Removed)_com_and_msn>
>Subject: Re: calling a 2.0 CF assembly from a 1.1 assembly ?
>Date: Wed, 20 Jul 2005 10:50:52 +0200
>
>Even if both CF versions are installed ?
>
>Thanks,
>Steve
>
>"<ctacke/>" <ctacke_AT_OpenNETCF_com> a écrit dans le message de news:
>(E-Mail Removed)...
>> You can't. The CF 1.0 EE won't have the necessary internals for calling
a
>> 2.0 assembly.
>>
>> -Chris
>>
>>
>> "Steve B." <(E-Mail Removed)_swap_com_and_msn> wrote in message
>> news:(E-Mail Removed)...
>>> Hi,
>>>
>>> I'd like to create a lib with VS 2005 (CF2.0) and consume this lib from
a
>>> 1.1 app created with VS 2003.
>>>
>>> Is it possible ?
>>>
>>> Thanks,
>>> Steve
>
This posting is provided "AS IS" with no warranties, and confers no rights.