下载了 StructureMap,但似乎缺少 Log4Net.Dll
我目前正在按照书中的说明来开发应用程序。它要求我下载 StructureMap,然后将 StructureMap.Dll 文件和 Log4Net.dll 移动到 bin 文件中。问题是StructureMap文件中似乎没有Log4Net.dll文件,除了StructureMap.dll之外唯一的其他dll是Rhino.Mock.dll。有人可以帮忙吗? 谢谢 雷切尔
I am currently following instructions in a book to develop an application. It asks me to download StructureMap and then move the StructureMap.Dll file and the Log4Net.dll into the bin files. The problem is there doesnt seem to be a Log4Net.dll file in the StructureMap files, the only other dll apart from the StructureMap.dll is the Rhino.Mock.dll. can anyone help?
Thanks
Rachel
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
StructureMap 最近经历了一些大修,因此在此过程中可能删除了对 log4net 的依赖。无论如何,StructureMap 目前不需要 log4net。下面是 Reflector 的快速屏幕截图,显示了这么多内容:
(来源:cryptofreak.org)
可能值得找出本书引用的 StructureMap 版本并尝试该版本而不是最新版本。
StructureMap underwent a bit of an overhaul recently, so it's possible that a dependency on log4net was removed during that process. In any case, StructureMap does not currently require log4net. Here's a quick screenshot from Reflector showing as much:
(source: cryptofreak.org)
It might be worthwhile to find out which version of StructureMap the book is referencing and try that one rather than the latest.
我也在开发同样的社交网站。从这里下载 StructureMap V.1.1,您可以在其中找到这两个 dll:
http://github.com/结构图/结构图/下载
I'm developing the same social networking site too. Download StructureMap V.1.1 from here, where you will find both the dlls:
http://github.com/structuremap/structuremap/downloads