gpt4 book ai didi

.net - AssemblyInfo.cs 有何用途?

转载 作者:行者123 更新时间:2023-12-03 04:46:02 24 4
gpt4 key购买 nike

我的问题非常基本:AssemblyInfo.cs 文件的用途是什么?

最佳答案

AssemblyInfo.cs contains information about your assembly, like name, description, version, etc. 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.

鸣谢:http://social.msdn.microsoft.com/Forums/en/csharpgeneral/thread/8955449f-71ac-448e-9ee6-5329fceecd3c

关于.net - AssemblyInfo.cs 有何用途?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13180543/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com