How can I port a C# dll to WP7?
I have the .dll source code successfully building on desktop but when I try to reference the dll on a WP7 project I get the following error:
Reference cannot be added to c:\path\to\my.dll because it was not built using
the Windows Phone runtime. Windows Phone projects will work only with
Windows Phone assemblies.
Is there an easy way to build it using Windows Phone runtime?
Create a
Windows Phone Libraryproject, copy source codes to it and resolve all errors that appears. And than you can reference thisdllfromWindows Phoneproject