Can I use a Windows -> Class Library inside a WP7 application?
I'm creating a library application that will act as a wrapper for an exposed API. This library id开发者_JS百科eally should work on any desktop application, but truth be told I'm intending to use this on the WP7 once I'm done creating the library.
Would this work?
From silverlight.net:
Silverlight is the application development platform for Windows Phone 7. High performance gaming is also supported through the XNA Framework.
You can't reference a .NET assembly which was compiled against the full .NET Framework in a Silverlight application.
Develop your library for Silverlight and all should be fine.
精彩评论