有没有办法在不执行解决方案的情况下找到dll解决方案中使用的程序集引用?

编程入门 行业动态 更新时间:2024-10-20 09:24:02
本文介绍了有没有办法在不执行解决方案的情况下找到dll解决方案中使用的程序集引用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

有没有办法在不执行解决方案的情况下找到dll解决方案中使用的程序集引用?

Is there a way to find the assembly references used in a solution for a dll without executing the solution?

推荐答案

是的你可以使用Teleriks只是反编译器解决方案 转到下面的链接并下载它。 www.telerik/download/justdecompile [ ^ ] 如果有帮助,请接受回答 谢谢, Mukesh Yes u can use Teleriks just decompiler for ur solution go to below link and download it. www.telerik/download/justdecompile[^] If it helps u please accept answer Thanks, Mukesh

如果你查看解决方案文件夹,你会发现它包含每个项目的子文件夹 - 并且因为引用是在project-by =项目上基础,你需要看看。 每个项目文件夹都包含一个.csproj文件,这是一个XML文件,包含VS用来构建的所有信息项目,包括它需要的参考。有一个带文本编辑器的llok,你会发现这样的东西: If you look in the solution folder, you will find that it contains sub folders for each project - and because references are on a project-by=project basis, it's there you need to look. Each project folder contains a ".csproj" file, which is an XML file containing all the info VS uses to build the project, and that includes the References it needs. Have a llok with a text editor, and you'l find something like this: ... <ItemGroup> <ProjectReference Include="..\..\UtilityControls\UtilityControls\UtilityControls.csproj"> <Project>{AFCB3E5D-5DC9-4848-8FFB-BFA22DBF1B12}</Project> <Name>UtilityControls</Name> </ProjectReference> <ProjectReference Include="..\MediaMasterPL\MediaMasterPL.csproj"> <Project>{D2E0A1DF-85AC-4A15-9307-DD77D01A7B28}</Project> <Name>MediaMasterPL</Name> </ProjectReference> <ProjectReference Include="..\VideoDL\VideoDL.csproj"> <Project>{B925CD2F-9C84-4211-AF57-3016B121FB7F}</Project> <Name>VideoDL</Name> </ProjectReference> </ItemGroup> ...

您应该能够使用任何XML文件阅读器来访问csproj文件并获取该信息。

You should be able to use any XML file reader to access the csproj file and get that info.

更多推荐

有没有办法在不执行解决方案的情况下找到dll解决方案中使用的程序集引用?

本文发布于:2023-11-13 14:40:20,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1584602.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:解决方案   没有办法   情况下   程序   dll

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!