using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Adam60XXDIO")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Advantech")] [assembly: AssemblyProduct("Adam60XXDIO")] [assembly: AssemblyCopyright("Copyright © Advantech 2010")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("1917d5b0-c669-4929-bdab-e05a3d7b1b6c")] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")]详解
时间: 2023-06-09 13:02:01 浏览: 163
System.Runtime.InteropServices.COMException的解决方法
5星 · 资源好评率100%
这似乎是一段C#代码,用于设置程序集的属性,其中包括程序集的标题、描述、公司信息、版本号等。其中,ComVisible属性控制程序集中的类型是否对COM组件可见,如果需要从COM中访问程序集中的类型,可以将此属性设置为true。 GUID属性是用于标识程序集类型库的唯一标识符。 AssemblyVersion属性和AssemblyFileVersion属性用于指定程序集的版本号。
阅读全文