Bugs item #2059751, was opened at 2008-08-19 15:28
Message generated for change (Comment added) made by vicrea
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=2059751&group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tasks
Group: None
Status: Closed
Resolution: Wont Fix
Priority: 5
Private: No
Submitted By: Valentijn (vicrea)
Assigned to: Gert Driesen (drieseng)
Summary: asminfo output does not conform to stylecop rules

Initial Comment:
The output contains some comments stating that it is an auto-generated file 
followed by a blank line, this conflicts withe the style cop rule 

SA1512: A single-line comment must not be followed by a blank line. 

Is it possible that this blank line is removed?

Thanks

----------------------------------------------------------------------

>Comment By: Valentijn (vicrea)
Date: 2008-08-25 09:36

Message:
Logged In: YES 
user_id=1142742
Originator: YES

Unfortunatly StyleCop doesn't recognize to auto-generated comment because
it is not in the file header (the using directives come first)

I resorted to manually changing all the project files to include
<ExcludeFromSourceAnalysis>true<ExcludeFromSourceAnalysis/>
for the SolutionInfo.cs file


----------------------------------------------------------------------

Comment By: Gert Driesen (drieseng)
Date: 2008-08-23 15:41

Message:
Logged In: YES 
user_id=707851
Originator: NO

We are using CodeDOM to generate the AssemblyInfo file, which
automatically adds the comments (and the blank line).

You should not run stylecop on generated code. This is code that you - in
general - do not intend to modify and as such the code style does not
matter.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=2059751&group_id=31650

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to