기본의 AssemblyInfo.cs은 다음과 같습니다 AssemblyInfo.cs에 필요한 것은 무엇입니까?
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("Foobar")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Foobar")]
[assembly: AssemblyCopyright("Copyright © 2012")]
[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("e8cd5d7d-5fba-4fe1-a753-f0cc6e052bf2")]
// 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")]
무엇이 모든
정말 필요한가? 예를 들어 Guid 및 ComVisible을 필요 없으면 제거하거나 AssemblyTrademark를 그냥 비워 둘 수 있습니까?
시도했을 때 어떤 일이 발생 했습니까? –
글쎄, 그것은 충돌하지 않았지만, 내가 알지 못했던 어떤 더 큰 영향이 있는지, 궁금해했다. 어떤 상황이나 어떤 상황에서도 어셈블리를 사용할 수없는 것처럼 느껴진다. – Svish
내가 생각할 수있는 유일한 문제는 여러 복사본을 넣는 것이다. GAC 어셈블리의 여러 버전의 어셈블리를 배치 할 수 있습니다. 각 사본마다 다른 문화권이있는 경우 동일한 버전의 사본을 여러 개 가질 수 있습니다. 그러나 버전 정보가 누락 된 경우 문제가 될 수 있습니다. –