Framework V2 and 3.5 install side-by-side

G

GrahamS

Hi,
I have a CE build which includes CF 2.0 (SP2) and 3.5.

I have an app which was built using 3.5 and which worked pretty good (but
with a serial port problem).

I rebuilt the app to use V2.0 - new VS2008 project, copy over all source -
rebuilds fine. All references state 2.0.0. The app DOES use JSON from
newtonsoft and this states that it runs on 2.0 but requires 3.5 libraries to
be available.

When I run the app - it says that it needs a newer version of Framework.

Running cgautil shows 2.0.7045 a dn 3.5.7283 as both being present.

I also had a trial app from someone else (abcTaskMan - a Process Monitor)
which states that it is built on 2.0 but that reports the same error.

SO - I rebuilt the OS without CF 3.5 - and my app now at least tries to run,
and even creates error logs for me - but obviously it now fails when it tries
to use JSON (which needs 3.5 libraries).

SO - WHY does .Net try to use 3.5 libraries - when the app should just be
asking for 2.0 ??. This is pretty fundamental surely :-O.

NB the abcTaskMan app also ran better - no CF mismatch reported !!.

Thanks

Regards

Graham
 
P

Paul G. Tobey [eMVP]

Don't do that. There's no value in doing it, it takes more storage space,
and it doesn't work...

Paul T.
 
G

GrahamS

Paul,

Thanks for the response :). So I should just include 3.5 and V2 apps will
just work against it then :).

Just going by desktop systems which usually have both installed :-O.

Regards

Graham
 
P

Paul G. Tobey [eMVP]

Yep. All you need is 3.5.

Paul T.

GrahamS said:
Paul,

Thanks for the response :). So I should just include 3.5 and V2 apps will
just work against it then :).

Just going by desktop systems which usually have both installed :-O.

Regards

Graham
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top