是用来做什么的AssemblyInfo.cs?

编程入门 行业动态 更新时间:2024-10-20 03:39:41
本文介绍了是用来做什么的AssemblyInfo.cs?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我的问题是pretty的基础。我想知道的是用于AssemblyInfo.cs文件?

解决方案   

AssemblyInfo.cs中包含有关程序集的信息,如姓名,   描述,版本,ECC。你可以找到关于它的内容的更多细节   读取那些包括在它的评论。

     

如果你删除它,您的装配将与任何信息汇编,   即,在文件属性的详细菜单,你会看到没有名字,   没有说明,0.0.0.0版本,等等。

     

与组件关联的值:GUID是将识别ID   大会是否会被公开为COM对象。因此,如果您   装配不COM暴露,你不需要这个。它是随机   生成。在任何情况下,通常情况下,你不需要进行修改。

现金去:social.msdn.microsoft/Forums/en/csharpgeneral/thread/8955449f-71ac-448e-9ee6-5329fceecd3c

My question is pretty basic. What I'd like to know is what is the AssemblyInfo.cs file used for?

解决方案

AssemblyInfo.cs contains information about your assembly, like name, description, version, ecc. You can find more details about its content reading the comments that are included in it.

If you delete it, your assembly will be compiled with no information, i.e., in the Details tab of the file properties you will see no name, no description, version 0.0.0.0, etc.

The value associated with assembly:Guid is the ID that will identify the assembly if it will be exposed as a COM object. So, if your assembly isn't COM-exposed, you don't need this. It is randomly generate. In any case, normally, you don't need to modify it.

Credits goes to : social.msdn.microsoft/Forums/en/csharpgeneral/thread/8955449f-71ac-448e-9ee6-5329fceecd3c

更多推荐

是用来做什么的AssemblyInfo.cs?

本文发布于:2023-11-07 05:40:41,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1565685.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:做什么   是用来   cs   AssemblyInfo

发布评论

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

>www.elefans.com

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