AspNet Core 1.1。引用.net 4.6项目在运行时失败

时间:2017-07-13 15:44:53

标签: asp.net-core

我有一个ASP.NET Core 1.1。 Web应用程序,我已成功将其引用到.NET 4.6类库。

当从其中一个Web应用程序的控制器调用.NET 4.6类库的公共方法之一时,我收到以下异常:

"Could not load file or assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified."

任何想法,我如何纠正?

0 个答案:

没有答案