Posted By: erik_ | Sep 27th, 2007 @ 10:53 AM
page 1 of 1
Comments: 7 | Views: 3469
erik_
erik_
Tablet Power

I am playing around with building msbuild script and found there is a StyleCop task in the Microsoft.Sdc.Tasks.Tools.

Which as far as google tells me will do for code comments what fxCop does for code.

But I am unable to find a download for this.
Is this an internal tool from Microsoft or is the tool renamed?


Not any more Cool. We released version 4.2 of the tool to the web yesterday.

Check it out at http://code.msdn.microsoft.com/sourceanalysis.

Regards
Bo Lund (Co-developer of Source Analysis a.k.a. StyleCop)

blowdart
blowdart
Peek-a-boo
Bo Lund wrote:


Not any more . We released version 4.2 of the tool to the web yesterday.

Check it out at http://code.msdn.microsoft.com/sourceanalysis.

Regards
Bo Lund (Co-developer of Source Analysis a.k.a. StyleCop)



Oh good. A willing victim.

Now a couple of things

1) Spaces over tabs? Are you insane? Tongue Out
2) When will we see an easy way to turn off particular rules?
blowdart wrote:

2) When will we see an easy way to turn off particular rules?


There is a configuration tool in the program's directory, which seems to let you select what rules you want (I didn't look that hard as it was nearly 5 on Friday!)
blowdart
blowdart
Peek-a-boo
AndyC wrote:

blowdart wrote:
2) When will we see an easy way to turn off particular rules?


There is a configuration tool in the program's directory, which seems to let you select what rules you want (I didn't look that hard as it was nearly 5 on Friday!)



Ah, I forgot, "on a per project basis".

OK that is being very fussy, as it's really a tool for company standard rules; except those us working on multiple projects for multiple companies ...
The benefits of tabs vs spaces can be argued either way (and passionately!).  I'm a tabs man, myself.  Still, I'm REALLY interested in the reasons behind SA1200's 'using directives must be placed inside of the namespace' (which isn't heaps good english, anyway), especially when the Microsoft class templates place the using directives OUTSIDE the namespace.  I'm not being critical (well, not negatively, anyway), but I am interested as to why I should change my Microsoft-taught programming habits...  Nice tool, but...
page 1 of 1
Comments: 7 | Views: 3469
Microsoft Communities