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

前端 未结 2 952
醉梦人生
醉梦人生 2021-02-12 23:31

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:19

    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.

提交回复
热议问题