You must add a reference to assembly ‘netstandard, Version=2.0.0.0

I think the solution might be this issue on GitHub: Try add netstandard reference in web.config like this:” <system.web> <compilation debug=”true” targetFramework=”4.7.1″ > <assemblies> <add assembly=”netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51″/> </assemblies> </compilation> <httpRuntime targetFramework=”4.7.1″ /> I realise you’re using 4.6.1 but the choice of .NET 4.7.1 is significant as older Framework versions are not fully compatible … Read more

Determine .NET Framework version for dll

In PowerShell you can use the following to get the target runtime: $path = “C:\Some.dll” [Reflection.Assembly]::ReflectionOnlyLoadFrom($path).ImageRuntimeVersion I adapted this to PowerShell from Ben Griswold’s answer. If you want to know the target framework version specified in Visual Studio, use: $path = “C:\Some.dll” [Reflection.Assembly]::ReflectionOnlyLoadFrom($path).CustomAttributes | Where-Object {$_.AttributeType.Name -eq “TargetFrameworkAttribute” } | Select-Object -ExpandProperty ConstructorArguments | Select-Object … Read more