Docs: Consider adding a target for `net461` — why?

Created on 13 Nov 2018  Â·  4Comments  Â·  Source: dotnet/docs

> Using .NET Standard 2.0 from .NET Framework has some issues that were addressed in .NET Framework 4.7.2.

Could you please elaborate more on this? Which issues? What exactly are we solving by targeting net461 in addition to just netstandard2.0?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Area - .NET Guide P2 Pri2 doc-enhancement dotneprod waiting-on-feedback

Most helpful comment

@terrajobst is there a quick explanation here you can add on why we're recommending this?

All 4 comments

@terrajobst Do you know of a blog post or article that discusses the issues netstandard2.0 has with net461? I'll add a link to it in the docs.

Not yet :-(

I thought .NET 4.7.1 fully implemented .NET Standard 2.0... if this is not the case then more detail should definitely be provided about what the problem is

The best I can find about 4.7.1 is this comment on this blog post: https://blogs.msdn.microsoft.com/dotnet/2018/04/30/announcing-the-net-framework-4-7-2/

The .NET Framework 4.7.1 added eight properties to the System.Net.Http.HttpClientHandler class. However, two threw a PlatformNotSupportedException. The .NET Framework 4.7.2 now provides an implementation for these properties. The properties are:

  • CheckCertificateRevocationList
  • SslProtocols

In .NET Framework 4.7.2 we have addresses the known runtime issues with .NET Standard 2.0. We made changes to the runtime to ensure that you don’t need additional files deployed along with your .NET Standard library. This would also remove the need to have binding redirects generated in your application that consumes a .NET Standard library.

@terrajobst is there a quick explanation here you can add on why we're recommending this?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Eilon picture Eilon  Â·  3Comments

garfbradaz picture garfbradaz  Â·  3Comments

stanuku picture stanuku  Â·  3Comments

ygoe picture ygoe  Â·  3Comments

LJ9999 picture LJ9999  Â·  3Comments