We have a .NET project that is written under Visual Studio 2008. We also needed numerical processings and we chose Math.NET Numerics for this as it has all the functionalities we need.
But after adding a reference to the redistributable binary MathNet.Numerics.dll (portable version) and compiling the project we get the following error:
Error:
Could not load referenced assembly "...\MathNet.Numerics.dll". Caught a BadImageFormatException saying "Could not load file or assembly '...\MathNet.Numerics.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.".
So we decided to re-compile source code by using VS 2008. But it gives numerous syntax errors due to the new C# syntax. They can not be fixed manually as there are thousands of errors.
We also don't have VS 2012 to re-compile the code and re-target to .NET 2.0 (or .NET 3.5), if this works at all.
Therefore, my question is how I can get redistributable Math.NET binaries for .NET 2.0 (or at least .NET 3.5), or how get source codes that are .NET 3.5 compliant?
Thanks for any help in advance.
But after adding a reference to the redistributable binary MathNet.Numerics.dll (portable version) and compiling the project we get the following error:
Error:
Could not load referenced assembly "...\MathNet.Numerics.dll". Caught a BadImageFormatException saying "Could not load file or assembly '...\MathNet.Numerics.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.".
So we decided to re-compile source code by using VS 2008. But it gives numerous syntax errors due to the new C# syntax. They can not be fixed manually as there are thousands of errors.
We also don't have VS 2012 to re-compile the code and re-target to .NET 2.0 (or .NET 3.5), if this works at all.
Therefore, my question is how I can get redistributable Math.NET binaries for .NET 2.0 (or at least .NET 3.5), or how get source codes that are .NET 3.5 compliant?
Thanks for any help in advance.