Referencing old (full .NET Framework) Class Library when targeting .NET Core

前端 未结 2 1816
别跟我提以往
别跟我提以往 2020-12-11 14:16

I\'m developing a web application on .Net Core, but as .Net Core is still on development some libraries used are not built on Core yet.

I know I can target .Net 4.6

2条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-11 14:44

    Yes, it's possible. I have a project targeting NHibernate (that depends on full .NET Framework) and also some old format Class Library projects (csproj).

    I use DI and MVC/API without problems.

提交回复
热议问题