Hacker News new | ask | show | jobs
by DeepDuh 5112 days ago
Thanks for the input. So you can do cross platform if you use these portable class libraries from start. How about about porting win32 code from the .net era? I would guess that most of today's windows applications are running on those libraries, don't they?
1 comments

I either use a PCL from the start, or I've taken existing code and moved it into the pCL (there are a few tricks to get around due to pieces missing from the various libraries, since they are an overlapping subset).

So if you have existing .net code, I'd try to plug it into the PCL and see which namespaces, etc. are missing then work backwards from there - even if you can only get some of your code, it's a better start than copy/pasting everything IMO.