StyleCop SA1638
Posted
by niaher
on Stack Overflow
See other posts from Stack Overflow
or by niaher
Published on 2010-03-04T18:14:21Z
Indexed on
2010/04/29
19:47 UTC
Read the original article
Hit count: 399
I am using StyleCop in VS2008. I get this error:
SA1638: The file attribute in the file header's copyright tag must contain the name of the file.
Here is my header.
// <copyright file="AssemblyInfo.cs" company="company">
// Copyright (c) company. All rights reserved.
// </copyright>
// <author>me</author>
// <email>[email protected]</email>
// <date>2010-03-04</date>
// <summary>blah blah.</summary>
I suspect the problem is that my AssemblyInfo.cs is located inside the Properties folder. Any clues to how I can fix this warning without silencing StyleCop?
© Stack Overflow or respective owner