Running the same application on a PC and a CE device using .Net Framework and C#

I need to run esentially the same application on a CE device and on a PC. The only change might be a larger UI on the PC. I would like to use C# and the .Net Framework. Is this possible Are there any example programs How would one go about doing this

At the moment it appears the only reasonable way of using the same source is by using unmanaged C++ code.



Answer this question

Running the same application on a PC and a CE device using .Net Framework and C#

  • Ben Anderson

    It is possible on both binary level and source code level. Please see this:

    http://www.danielmoth.com/Blog/2004/09/retargetable-256.html



  • warelock

    The blogger cannot see a good reason to do this, so the info is not the best. There are lots of good reasons, but I don't care if no one else thinks so. 8)

    I'd like a way to reuse code in multiple solutions even just on the PC, that don't require DLLs. I'd like to include a single .VB file in multiple projects (including PPC) without creating a copy of the file in each project; perhaps just using ifdefs.

    ---Mike


  • Running the same application on a PC and a CE device using .Net Framework and C#