Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET compact framework backward compatibility 3.5 and 2.0

Do I need to install .NET 2.0 on the device, where .NET 3.5 is installed?

So far my application works on .NET 2.0 (which potentially should be faster) but the long term plan is to port it to .NET 3.5. I need to order devices and the OEM needs to know which version of .NET should be added to the Windows CE image (version 5.0). Shall I ask him to add both .NET 2.0 and .NET 3.5?

like image 302
kmalmur Avatar asked May 12 '10 09:05

kmalmur


1 Answers

Using either an app.config or a device.config file you can promote your application and tell the .NET Compact Framework which runtimes it can use via either the supportedRuntime or compatibility version (some of these are for .NET 1.0 to .NET 2.0, but the mechanism remains the same for .NET 3.5).

Microsoft even has a tool to aid in generating the proper files.

like image 112
ctacke Avatar answered Jan 03 '23 16:01

ctacke