Reputation: 3594
I'm getting the following 4 missing dependencies when trying to build Math.net Numerics in Visual Studio 2017
.NETFramework 4.0
.NETFramework 4.6.1
.NETStandard 1.3
.NETStandard 2.0
I cant seem to find these SDKs or binary libraries or any information on how to install them. Do I need to install 4 separate frameworks? Or just one SDK? Why do I need both .NetStandard 2.0 and 1.3 or both frameworks 4.0 and 4.6.1?
Can somebody point me to a link where of what I need to install? Thanks
Upvotes: 6
Views: 19834
Reputation: 4896
.NET Standard 2.0 comes with any installation of .NET Core 2.x SDK, this means including .NET Core runtime of 2.0, 2.1, and 2.2.
Please consult the official documentation on .NET Standard: https://learn.microsoft.com/en-us/dotnet/standard/net-standard
Since October 2019, the recommended way to have .NET Standard 2.0 is by having synchronized with .NET Core lifecycle, therefore it is recommended to have at least the LTS version of .NET Core 2.1 SDK or .NET Core 2.2.
This is important because .NET Core 2.0 is not supported anymore, therefore it is strongly recommended to always use the minimum supported version of .NET Core 2.x. In order to ensure longer support, please use .NET Core 2.1 instead of 2.2 because .NET Core 2.1 is LTS release, whereas .NET Core 2.2 is not.
This is the official article about .NET Core support policy: https://dotnet.microsoft.com/platform/support/policy/dotnet-core
NOTES:
UPDATE 1: (about SDK versions in relation with VS 2017)
For more information, see also this GitHub issue: https://github.com/dotnet/sdk/issues/3124
Upvotes: 6