SciSharp / NumSharp

High Performance Computation for N-D Tensors in .NET, similar API to NumPy.
https://github.com/SciSharp
Apache License 2.0
1.36k stars 189 forks source link

installation error on VS2019 windows 10 #403

Closed wendong-wang closed 4 years ago

wendong-wang commented 4 years ago

I tried to install NumSharp on VS2017 community and VS2019 community on a windows 10 computer, but the following error occurred.

"Could not install package 'NumSharp 0.20.5'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author."

A screenshot is in the link below: https://www.dropbox.com/s/ivioijssauzsaqn/screenshot.JPG

Nucs commented 4 years ago

NumSharp targets netstandard2.0 which supports net-framework 4.6.2 and above. You'll have to change your project target to .net frame 4.6.2 or above. Even better would be to move to netcore.