确定所有引用的程序集程序

由网友(囡人吥拽,註萣被甩)分享简介:我需要确定一个特定的.NET Compact Framework程序集引用的所有程序集。你认为这是可能的塞西尔?I need to determine all assemblies referenced by a certain .NET Compact Framework assembly. Do you thin...

我需要确定一个特定的.NET Compact Framework程序集引用的所有程序集。你认为这是可能的塞西尔?

I need to determine all assemblies referenced by a certain .NET Compact Framework assembly. Do you think this is possible with Cecil?

这样,我们的部署工具能够自动地解决我们的.NET Compact Framework应用程序的所有依赖。

This way our deployment tools could automatically resolve all dependencies of our .NET Compact Framework applications.

推荐答案

即使没有塞西尔,你应该能够与 Assembly.GetReferencedAssemblies 。尽管这不是支持的CF本身(据我可以告诉),它应该是罚款,如果你部署工具是服务器端。

Even without Cecil you should be able to do it with Assembly.GetReferencedAssemblies. Even though that's not supported on the CF itself (as far as I can tell) it should be fine if your deployment tools are server-side.

阅读全文

相关推荐

最新文章