【问题标题】:AssemblyInfo file got corrupted VS2010AssemblyInfo 文件损坏 VS2010
【发布时间】:2012-04-27 01:52:11
【问题描述】:

我有一个非常奇怪的问题, 当我在 VS2010 中创建一个新项目时,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("RSAConfiguration")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("
            ")]
[assembly: AssemblyProduct("RSAConfiguration")]
[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("4aebd189-5b6f-4f5b-a029-63c6dffe4bfa")]

// 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")]

【问题讨论】:

    标签: c# visual-studio-2010 assemblies


    【解决方案1】:

    Change your company name 在注册表中。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-04-07
      • 2012-04-12
      • 1970-01-01
      • 2021-01-18
      • 2015-03-14
      • 2014-03-31
      相关资源
      最近更新 更多