有没有办法在不执行解决方案的情况下找到dll解决方案中使用的程序集引用? [英] Is there a way to find the assembly references used in a solution for a dll without executing the solution?

查看:73
本文介绍了有没有办法在不执行解决方案的情况下找到dll解决方案中使用的程序集引用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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

推荐答案

是的你可以使用Teleriks只是反编译器解决方案

转到下面的链接并下载它。



http://www.telerik.com/download/justdecompile [ ^ ]



如果有帮助,请接受回答



谢谢,

Mukesh
Yes u can use Teleriks just decompiler for ur solution
go to below link and download it.

http://www.telerik.com/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解决方案中使用的程序集引用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆