C # in win CE

Sumeet
Can anyone tell me that If there is a c# application which is developed in
windows using visual studio. Can I run the same application in Win CE on
micro2440 SDK

John Meyer
Sumeet,

I have C# application that I am developing for Win CE6 using Visual Studio
2005.

The application runs on my Win7, XP and 2440, but ... the project is
configured for a Win CE device.

If you build the project as a Win32, I don't think it will run on the 2440
(I haven't tried to download one to the 2440).  Win CE only supports a
subset of .Net called .NET Compact 2.0, so some library functions available
for use in standard Win32 (.NET 2, 3.5 and 4) are not available under CE.

C# user-level applications for CE can also be developed using VS2008, but
the same issues apply with the .NET libraries.

I am new to the environment so I hope I have not misstated anything.

John

Ferite
.NET applications for PC use are targeted to the "full" .NET Framework.
When you start a Smart Device Project, Visual Studio set as target .NET
Compact Framework, wich is a subset of the full .NET framework. If you want
to run a routine developed for PC, you have to paste the code in a Smart
Device project and remove or replace the code not supported by compact. I
hope that if there is a better way, some one can share it.