Retargetable Mobile DLL’s?
I thought this was very interesting. In my quest for creating the ultimate device management application I’ve been working hard on the next version of my handheld code, when I read Daniel Moth’s article in MSDN Magazine. Here’s the gist of it:
“Though desktop assemblies cannot execute on the device, the good news is that the reverse is possible. If you create a smart device project and build it, the output (the EXE or DLL) can be executed on the desktop and can be referenced by desktop projects. This works because the .NET Compact Framework assemblies are retargetable.” – Link (Emphasis added)
I never knew that!? That’s cool!
It’s cool to see the UI render appropriately based on the system. Nice.
Daniel Moth, in his apparent first article, really did a good job of providing the details. I liked his suggestions in the “Stub It” section as well.
I do hate cluttering my code. I prefer to use as little code as possible – provided that the code is still readable and maintainable. In fact, there are few things in my synthetic life I like less than having code duplicated all over the place.
As such, I have always done my handheld development by having a project’s source files and multiple (targeted) project files in the same folder. Each project is targeted to a different platform. He also touched upon this in his article. Well done.
About this entry
You’re currently reading “Retargetable Mobile DLL’s?,” an entry on wasatchwizard’s weblog
- Published:
- September 27, 2007 / 8:20 pm
- Category:
- Handheld
- Tags:
No comments yet
Jump to comment form | comments rss [?] | trackback uri [?]