我正在使用VS2008中的StyleCop。我遇到了这个错误:
SA1638:文件头版权标记中的文件属性必须包含文件名。
这是我的文件头:
// <copyright file="AssemblyInfo.cs" company="company">
// Copyright (c) company. All rights reserved.
// </copyright>
// <author>me</author>
// <email>me@me.com</email>
// <date>2010-03-04</date>
// <summary>blah blah.</summary>
我猜测问题在于我的AssemblyInfo.cs文件位于Properties文件夹中。有没有什么方法可以解决这个警告,而不是让StyleCop静默处理?