PC Review


Reply
Thread Tools Rate Thread

calling a 2.0 CF assembly from a 1.1 assembly ?

 
 
Steve B.
Guest
Posts: n/a
 
      19th Jul 2005
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


 
Reply With Quote
 
 
 
 
Guest
Posts: n/a
 
      19th Jul 2005
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
>



 
Reply With Quote
 
Robert Levy [MS]
Guest
Posts: n/a
 
      19th Jul 2005
Correct.

VS 2005 Beta 2 will let you create CFv1 DLLs which can be called from both
v1 and v2 apps.


"<ctacke/>" <ctacke_AT_OpenNETCF_com> wrote in message
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
>>

>
>



 
Reply With Quote
 
Steve B.
Guest
Posts: n/a
 
      20th Jul 2005
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
>>

>
>



 
Reply With Quote
 
Brian Smith [MSFT]
Guest
Posts: n/a
 
      29th Jul 2005
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.

 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Strong-named assembly calling unsigned assembly: FileNotFoundexception Carol Microsoft C# .NET 7 21st Apr 2009 05:21 AM
Problem calling assembly which references another assembly from an asp page christianhaynes@hotmail.com Microsoft ASP .NET 3 3rd Mar 2006 04:52 PM
Calling Assembly Steve Long Microsoft VB .NET 2 26th Apr 2005 10:05 PM
Getting the name of the calling assembly Steve Singer Microsoft VB .NET 1 15th Feb 2005 10:19 PM
Getting the name of calling assembly Gos Microsoft VB .NET 1 20th Sep 2003 12:20 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:14 PM.