程序集清单引用的程序集与VS引用 [英] Assembly Manifest referenced Assemblies vs VS references

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

问题描述



我很困惑.我在参考下的Visual Studio中创建了控制台应用程序(MyTestApp),默认情况下可以看到dll(System,System.core,System.Date,System.Linq等).

我构建并编译了该项目.在ILDASM中打开MyTestApp.exe后,我期望上述所有程序集都将在AssemblyRef元数据下列出.但是我只能在AssembleRef下看到mscorlib.

有人可以让我知道,我的理解错在哪里.

Hi,

I am quite confused. I created console application (MyTestApp), in visual studio under reference I can see dlls by default (System, System.core, System.Date, System.Linq etc).

I build and compiled the project. Upon opening MyTestApp.exe in ILDASM, i was expecting all above assemblies to be listed under AssemblyRef metadata. But I can see only mscorlib under AssembleRef.

Could any one please let me know, where is my understanding wrong.

推荐答案

在您的项目中拥有引用不一定意味着您将在最终版本中使用这些库.可执行文件.
Having the references in your project does not necessarily mean that you will use those libraries in the final executable.


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

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