Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows Phone 7: Existing Libraries Not Supported?

I was hoping it was as easy as referencing my existing libraries to use them with WP7. However, it complains about not able to load them because of .Net CF when I actually use them.

Do i need to recompile them to .NET CF or something?

I thought the big plus of WP7 was: leveraging your existing codebase...? How can I leverage my existing codebase if I need to strip everything out of it and maintain multiple versions?

like image 619
Peterdk Avatar asked Mar 16 '10 20:03

Peterdk


1 Answers

Yes, you need to start up a windows phone library (which has references to the netcf bcl) ... you can add most all of your files as linked file references. This lets you change one source file and each platform will automatically be updated once you compile.

Look up some of XNA tutorials/videos that talk about how to have cross platform games for an example of how to do this

like image 173
Joel Martinez Avatar answered Sep 28 '22 11:09

Joel Martinez