This project is read-only.
1

Closed

Stylefix on blank class library project

description

Just FYI, I tried this tool on blank class library project (VS2010 C#) - 7 style cop warnings went away but it added 13 errors.
 
Added this unnecessary block to assemblyinfo.cs
 
namespace ClassLibrary2
{
public class Class1
{
}
}
 
Error 12 Assembly and module attributes must precede all other elements defined in a file except using clauses and extern alias declarations c:\users\mjain\documents\visual studio 2010\Projects\ClassLibrary2\ClassLibrary2\Properties\AssemblyInfo.cs 53 2 ClassLibrary2
 
Error 13 The namespace 'ClassLibrary2' already contains a definition for 'Class1' c:\users\mjain\documents\visual studio 2010\Projects\ClassLibrary2\ClassLibrary2\Class1.cs 14 18 ClassLibrary2
Closed May 14, 2013 at 3:53 PM by JBarrass
Tested on VS2012 Blank Library Project with v0.8. Fixed 5 of 8 issues, didn't cause any new issues.

comments