Porting .NET CF

  • Thread starter Thread starter mjuricek
  • Start date Start date
M

mjuricek

I have an aplication for pocket PC, that I wrote using visual studio
..NET using compact framework. I have a question if it is possible to
port this app into the desktop .NET framework.

I can add this project into the desktop solution but whe I check the
properties the only platform i can select is a pocket PC.


Thank You
 
You don't even really need to do anything. It should, as long as it doesn't
reference any Windows CE-only assemblies, run directly on the desktop.
Otherwise, build a new project for the desktop framework and add your
existing source code files to it.

Paul T.
 
One thing to keep in mind is the directory structure on a PDA vs. the
desktop. You dont have dirctories like Storage, etc. on a Desktop and you
dont have C: and D: on a PDA.

Othewise it should run just fine - it will only a be a bit small on the
screen at 240x320!
 
Thanks Daniel,

The articles explain a lot. I would have one more question. For roght
now I'm not using any cf specific dlls. I was wondering if there is a
tool that will recreate my CF forms to desktop forms (resize and
relocate, etc.) or do I have to do it on my own.
 
On your own... how would a tool know the size you wanted anyway... With CF
v2 you can of course use docking and anchoring to help with this issue
(although my advice would still be redesign the UI and share the business
logic).

Cheers
Daniel
 
Back
Top