查找 .Net 程序集的提取位置
我有 fou.dll 也需要friendfou.dll 当我编译我的项目时,friendfoul.dll 被从某个地方拖入我的 bin 文件夹中,我可以看出,因为我删除了friendfoul.dll,它在编译时重新出现。
我如何知道friendfoul.dll是从哪里提取的?
I have fou.dll that also needs friendfou.dll
When I compile my project friendfoul.dll is being pulled into my bin folder from somewhere, I can tell because I delete friendfoul.dll and it reappears on compile.
How can I tell where friendfoul.dll is being pulled from?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果您打开项目文件(例如,对于 C# 项目,project_name.csproj)并查找包含条目的条目,我相信您可以在那里找到所需的信息。
If you open the project file (project_name.csproj for a C# project, for instance) and look for the entry with the entries, you can find the info you seek there, I believe.
打开解决方案资源管理器,展开项目的引用节点并打开 fou.dll 引用的属性窗口。您将看到复制它的路径。
Open the Solution Explorer, expand the project's References node and open the Properties window of the fou.dll reference. You will see the path from where it is being copied.
既然您在评论中说friendfou.dll不是您项目的引用,请尝试查看构建事件(如果从某处复制dll)。要查找构建事件,请转到项目属性的“构建事件”选项卡上,然后查看预构建或后构建事件命令行,看看是否有对friendfou.dll的引用
Since you said in comments that friendfou.dll is not a reference of your project, try looking at a build events if dll is copied from somewhere. To find build events, go to project properties, on build events tab and look at pre-build or post-build event command lines and see if there are any references to friendfou.dll