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 Library
project, copy source codes to it and resolve all errors that appears. And than you can reference this dll
from Windows Phone
project
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With