2014-04-15 27 views
0

我正在使用NopCommerce3.10。NopCommerce- Autofac.Configuration.dll找不到

我想創建基於此教程的數據訪問插件:Plugin with data access

當我想包括我的插件引用的所有引用正確包括在內。但是,當我試圖在我的插件中包含Autofac.Configuration引用時,Autofac.Configuration.dll未在..\Presentation\Nop.Web\bin\Autofac.Configuration.dll位置找到。

那麼我如何在我的插件中包含Autofac.Configuration參考?

回答

2

在Autofac v3.0中,Autofac.Configuration.dll是標準發行版的一部分。在後續版本中,它被移植到它自己的Nuget包中。這聽起來像你的Autofac Nuget包已升級。如果是這樣,你需要添加現在額外的Autofac.Configuration Nuget包到你的項目中。

+0

非常感謝。現在我得到了解決方案。 – Tushar