PC Review


Reply
Thread Tools Rate Thread

how to determine if my component will work under CP

 
 
David
Guest
Posts: n/a
 
      20th Sep 2004
Do you know a software that determine if a particular assembly will run or
not under .net compact framework?

Thanks a lot



 
Reply With Quote
 
 
 
 
Ginny Caughey [MVP]
Guest
Posts: n/a
 
      20th Sep 2004
David,

I don't know of one. What exactly do you want to do?

--
Ginny Caughey
..Net Compact Framework MVP



"David" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Do you know a software that determine if a particular assembly will run or
> not under .net compact framework?
>
> Thanks a lot
>
>
>



 
Reply With Quote
 
David
Guest
Posts: n/a
 
      20th Sep 2004
Something to check all referenced classes and method or properties invoked
and determine if is available in the .net compact framework

For example (just for example):

Class Available in CF
System.Net Yes
System.Reflection No

etc



"Ginny Caughey [MVP]" <(E-Mail Removed)> escribió en el
mensaje news:%(E-Mail Removed)...
> David,
>
> I don't know of one. What exactly do you want to do?
>
> --
> Ginny Caughey
> .Net Compact Framework MVP
>
>
>
> "David" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Do you know a software that determine if a particular assembly will run

or
> > not under .net compact framework?
> >
> > Thanks a lot
> >
> >
> >

>
>



 
Reply With Quote
 
Daniel Moth
Guest
Posts: n/a
 
      20th Sep 2004
Like Ginny said there isn't one... what is your specific scenario?

If you have the source code for this assembly just add the code files to a
CF project and check the compiler errors.

If you don't have the source then
i) you either have a desktop assembly in which case it will not work on a CE
device regardless of what it uses internally..
ii) you have a CF assembly in which case your question is moot
iii) You don't know what it was built against so just open it in ILDASM and
look at the manifest (if you see a bunch of "retargetable" strings it's CF,
otherwise it's not)

Any more responses would be guessing at what the real question is...

Cheers
Daniel


"David" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Something to check all referenced classes and method or properties invoked
> and determine if is available in the .net compact framework
>
> For example (just for example):
>
> Class Available in CF
> System.Net Yes
> System.Reflection No
>
> etc
>
>
>
> "Ginny Caughey [MVP]" <(E-Mail Removed)> escribió en el
> mensaje news:%(E-Mail Removed)...
> > David,
> >
> > I don't know of one. What exactly do you want to do?
> >
> > --
> > Ginny Caughey
> > .Net Compact Framework MVP
> >
> >
> >
> > "David" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > Do you know a software that determine if a particular assembly will

run
> or
> > > not under .net compact framework?
> > >
> > > Thanks a lot
> > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Ginny Caughey [MVP]
Guest
Posts: n/a
 
      21st Sep 2004
David,

As Daniel pointed out, the compiler will generally catch missing methods if
you have the source. What it won't necessarily catch until you test it is
the situation where a method is there but just doesn't do anything useful or
just throws a NotSupportedException at runtime. I have also heard a request
for the Managed C++ compiler to warn if code won't work on the Compact
Framework with a special compiler switch. Managed C++ isn't really supported
for the Compact Framework, but it does mostly work. Anyway, I wondered if
that is the direction you're thinking.

--
Ginny Caughey
..Net Compact Framework MVP



"David" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Something to check all referenced classes and method or properties invoked
> and determine if is available in the .net compact framework
>
> For example (just for example):
>
> Class Available in CF
> System.Net Yes
> System.Reflection No
>
> etc
>
>
>
> "Ginny Caughey [MVP]" <(E-Mail Removed)> escribió en el
> mensaje news:%(E-Mail Removed)...
>> David,
>>
>> I don't know of one. What exactly do you want to do?
>>
>> --
>> Ginny Caughey
>> .Net Compact Framework MVP
>>
>>
>>
>> "David" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > Do you know a software that determine if a particular assembly will run

> or
>> > not under .net compact framework?
>> >
>> > Thanks a lot
>> >
>> >
>> >

>>
>>

>
>



 
Reply With Quote
 
David
Guest
Posts: n/a
 
      21st Sep 2004
Yes, I have the source code, but is done with the .Net Framework 1.1 (Visual
Studio .Net 2003)

How Can I in the same project convert to CF project? In order to check if
the assembly compile successul or not.


I am very new in CF programming so, sorry if I am making stupid questions.

Thanks





"Daniel Moth" <(E-Mail Removed)> escribió en el mensaje
news:(E-Mail Removed)...
> Like Ginny said there isn't one... what is your specific scenario?
>
> If you have the source code for this assembly just add the code files to a
> CF project and check the compiler errors.
>
> If you don't have the source then
> i) you either have a desktop assembly in which case it will not work on a

CE
> device regardless of what it uses internally..
> ii) you have a CF assembly in which case your question is moot
> iii) You don't know what it was built against so just open it in ILDASM

and
> look at the manifest (if you see a bunch of "retargetable" strings it's

CF,
> otherwise it's not)
>
> Any more responses would be guessing at what the real question is...
>
> Cheers
> Daniel
>
>
> "David" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> > Something to check all referenced classes and method or properties

invoked
> > and determine if is available in the .net compact framework
> >
> > For example (just for example):
> >
> > Class Available in CF
> > System.Net Yes
> > System.Reflection No
> >
> > etc
> >
> >
> >
> > "Ginny Caughey [MVP]" <(E-Mail Removed)> escribió en

el
> > mensaje news:%(E-Mail Removed)...
> > > David,
> > >
> > > I don't know of one. What exactly do you want to do?
> > >
> > > --
> > > Ginny Caughey
> > > .Net Compact Framework MVP
> > >
> > >
> > >
> > > "David" <(E-Mail Removed)> wrote in message
> > > news:(E-Mail Removed)...
> > > > Do you know a software that determine if a particular assembly will

> run
> > or
> > > > not under .net compact framework?
> > > >
> > > > Thanks a lot
> > > >
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Chris Tacke, eMVP
Guest
Posts: n/a
 
      21st Sep 2004
Simple. If you created it as a CF component, it will, if not it won't.
Full framework assemblies are not retargetable.

-Chris


"David" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Do you know a software that determine if a particular assembly will run or
> not under .net compact framework?
>
> Thanks a lot
>
>
>



 
Reply With Quote
 
Chris Tacke, eMVP
Guest
Posts: n/a
 
      21st Sep 2004
Create a new CF project, add your source files, hit F5. If it compiles,
you're good, if not, start at the top of the to-do list. Honestly that's
the best way.

-Chris


"David" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Yes, I have the source code, but is done with the .Net Framework 1.1

(Visual
> Studio .Net 2003)
>
> How Can I in the same project convert to CF project? In order to check if
> the assembly compile successul or not.
>
>
> I am very new in CF programming so, sorry if I am making stupid questions.
>
> Thanks
>
>
>
>
>
> "Daniel Moth" <(E-Mail Removed)> escribió en el mensaje
> news:(E-Mail Removed)...
> > Like Ginny said there isn't one... what is your specific scenario?
> >
> > If you have the source code for this assembly just add the code files to

a
> > CF project and check the compiler errors.
> >
> > If you don't have the source then
> > i) you either have a desktop assembly in which case it will not work on

a
> CE
> > device regardless of what it uses internally..
> > ii) you have a CF assembly in which case your question is moot
> > iii) You don't know what it was built against so just open it in ILDASM

> and
> > look at the manifest (if you see a bunch of "retargetable" strings it's

> CF,
> > otherwise it's not)
> >
> > Any more responses would be guessing at what the real question is...
> >
> > Cheers
> > Daniel
> >
> >
> > "David" <(E-Mail Removed)> wrote in message
> > news:%(E-Mail Removed)...
> > > Something to check all referenced classes and method or properties

> invoked
> > > and determine if is available in the .net compact framework
> > >
> > > For example (just for example):
> > >
> > > Class Available in CF
> > > System.Net Yes
> > > System.Reflection No
> > >
> > > etc
> > >
> > >
> > >
> > > "Ginny Caughey [MVP]" <(E-Mail Removed)> escribió

en
> el
> > > mensaje news:%(E-Mail Removed)...
> > > > David,
> > > >
> > > > I don't know of one. What exactly do you want to do?
> > > >
> > > > --
> > > > Ginny Caughey
> > > > .Net Compact Framework MVP
> > > >
> > > >
> > > >
> > > > "David" <(E-Mail Removed)> wrote in message
> > > > news:(E-Mail Removed)...
> > > > > Do you know a software that determine if a particular assembly

will
> > run
> > > or
> > > > > not under .net compact framework?
> > > > >
> > > > > Thanks a lot
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
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
how do you determine if a component is at design mode PGP Microsoft Dot NET Compact Framework 2 13th Dec 2007 05:49 PM
Trying to determine the missing component! Oliver Start Windows XP Embedded 1 24th Aug 2006 04:42 PM
Determine component host context Phil Harvey Microsoft VB .NET 0 16th Feb 2005 11:30 AM
how to determine how the web component is authenticating users? =?Utf-8?B?bWlpY2hlYWw=?= Microsoft Frontpage 1 4th Dec 2003 11:08 AM
RE: how to determine location of a component? Jeffrey Tan[MSFT] Microsoft C# .NET 2 9th Oct 2003 01:53 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:50 PM.