I was using the Math.NET Neodym library for a project on Visual C# for a winforms application.
Here’s the project’s link: Math.NET Neodym
Now, I want to port it over to Windows Phone 8, When adding a reference to the library in the WP8 SDK, I get an error along the lines of:
a reference to a higher version or incompatible assembly cannot be
added
Now, I’ve asked this question before, and Ive been told that I can port the library to WP8 by recompiling it. And I have no idea how to? Do I just copy paste each file from the Library into a new WP8 library project and compile?
The easiest way would be to convert the project to a Portable Class Library. This would allow it to be used by Windows Phone as well as desktop apps.
You should be able to just open the solution, and change the appropriate project properties to do this. However, if any types are not supported by the target framework(s), you’ll need to rework or remove those portions of the library.