Quantcast
Channel: Math.NET Numerics
Viewing all articles
Browse latest Browse all 971

New Post: Silverlight 5 System.Numerics.Complex conflict with System.Numerics.dll

$
0
0
Hi,

I have a Silverlight 5 project that uses the Math.Net numerics library. Upon updating my references and adding the library via NuGet, I'm having a problem compiling the project.

It seems that the library MathNet.Numerics.dll (v2.4.0) has a definition for System.Numerics.Complex, which is conflicting with System.Numerics.Complex in the SL5 client library, System.Numerics.dll. The full error I see is:

The type 'System.Numerics.Complex' exists in both '...\myproject\src\packages\MathNet.Numerics.2.4.0\lib\portable-net40+windows8+wp8+sl5\MathNet.Numerics.dll' and 'c:\Program Files (x86)\Microsoft SDKs\Silverlight\v5.0\Libraries\Client\System.Numerics.dll'

Do you have any guidance on how to deal with this? Are external aliases the only route?

Thanks in advance,
David

Viewing all articles
Browse latest Browse all 971

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>