应用清单,相关程序集 [英] Application Manifest, dependent Assemblies

查看:64
本文介绍了应用清单,相关程序集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



出于好奇,我试图查看MyApp.exe.manifest的内容.

如预期的那样,它具有依赖于依赖程序集的程序集dll列表.

例如:

< dependentassemblydependenttype ="preRequisite" allowdelayedbinding ="true">
< assemblyidentity name ="Microsoft.Windows.CommonLanguageRuntime" version ="2.0.50727.0">



我想知道,MyApp还引用了System.dll,System.Data.dll等.为什么这些程序集不作为依赖程序集包含在清单文件中.

Hi,

Out of curriosity, I was trying to look at the content of MyApp.exe.manifest.

As expected, it has list of assembly dlls on which it depends as dependentassembly.

for example:

<dependentassembly dependencytype="preRequisite" allowdelayedbinding="true">
<assemblyidentity name="Microsoft.Windows.CommonLanguageRuntime" version="2.0.50727.0">



I am wondering, MyApp also references System.dll, System.Data.dll etc..so why these assemblies are not included in manifest file as dependent assembly.

Thanks!!!

推荐答案

.NET BCL(基类库)提供的系统默认名称空间很少,例如System.dll和System.Data.dll

清单是添加程序集的参考.不是默认值.希望可以清除您的查询.
There are few system default namespaces supplied by .NET BCL (Base Class Library), such as System.dll and System.Data.dll

Manifest is the reference for add on assemblies; not default. Hope, it clears your query.


这篇关于应用清单,相关程序集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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