.NET Core project add reference to .NET Framework project. Why it's possible?

前端 未结 2 478
情话喂你
情话喂你 2021-02-12 23:41

I have followings projects:

.NET Core 2.0 Web Application

.NET Standard 2.0 Class library &

.NET Framework 4.5 Class Library.

I add referenc

2条回答
  •  余生分开走
    2021-02-13 00:10

    This was just added as part of .NET Standard/Core 2.0. As long as the .NET Framework dll only references things in the .NET Standard, it will use type forwarding to the .NET Core implementations.

提交回复
热议问题