Framework V2 and 3.5 install side-by-side

  • Thread starter Thread starter GrahamS
  • Start date Start date
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
 
Don't do that. There's no value in doing it, it takes more storage space,
and it doesn't work...

Paul T.
 
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
 
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
 
Back
Top