问题描述
usingSystem.Reflection;usingSystem.Runtime.CompilerServices;////GeneralInformationaboutanassemblyiscontrolledthroughthefollowing//setofattributes.Changetheseattributevaluestomodifytheinformation//associatedwithanassembly.////此属性描述程序集的名称,如:某某公司某某项目某某模块等,此名称可以是任何合法的字符串,可以有空格。[assembly:AssemblyTitle("")]//程序集的简单描述,描述程序集的功能、特性、约束等[assembly:AssemblyDescription("")]//程序集的配置信息[assembly:AssemblyConfiguration("")]//程序集所属的公司名称[assembly:AssemblyCompany("")][assembly:AssemblyProduct("")][assembly:AssemblyCopyright("")][assembly:AssemblyTrademark("")][assembly:AssemblyCulture("")]////Versioninformationforanassemblyconsistsofthefollowingfourvalues:////MajorVersion//MinorVersion//BuildNumber//Revision////YoucanspecifyallthevaluesoryoucandefaulttheRevisionandBuildNumbers//byusingthe'*'asshownbelow:[assembly:AssemblyVersion("1.0.*")]////Inordertosignyourassemblyyoumustspecifyakeytouse.Refertothe//Microsoft.NETFrameworkdocumentationformoreinformationonassemblysigning.////Usetheattributesbelowtocontrolwhichkeyisusedforsigning.////Notes://(*)Ifnokeyisspecified,theassemblyisnotsigned.//(*)KeyNamereferstoakeythathasbeeninstalledintheCryptoService//Provider(CSP)onyourmachine.KeyFilereferstoafilewhichcontains//akey.//(*)IftheKeyFileandtheKeyNamevaluesarebothspecified,the//followingprocessingoccurs://(1)IftheKeyNamecanbefoundintheCSP,thatkeyisused.//(2)IftheKeyNamedoesnotexistandtheKeyFiledoesexist,thekey//intheKeyFileisinstalledintotheCSPandused.//(*)InordertocreateaKeyFile,youcanusethesn.exe(StrongName)utility.//WhenspecifyingtheKeyFile,thelocationoftheKeyFileshouldbe//relativetotheprojectoutputdirectorywhichis//%ProjectDirectory%obj<configuration>.Forexample,ifyourKeyFileis//locatedintheprojectdirectory,youwouldspecifytheAssemblyKeyFile//attributeas[assembly:AssemblyKeyFile("..\..\mykey.snk")]//(*)DelaySigningisanadvancedoption-seetheMicrosoft.NETFramework//documentationformoreinformationonthis.//[assembly:AssemblyDelaySign(false)][assembly:AssemblyKeyFile("")][assembly:AssemblyKeyName("")]这上面的代码是要自己编写的还是生成的
解决方案
解决方案二:
一个程序中出现程序集主要的用处是介绍程序的相关信息吗
解决方案三:
VS自动生成。
解决方案四:
如何实现窗体上挂一个小钟表