Porting .NET CF

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
 
P

Paul G. Tobey [eMVP]

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.
 
M

Me

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!
 
M

mjuricek

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.
 
D

Daniel Moth

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top