<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://code.msdn.microsoft.com/rss.xsl"?><rss version="2.0"><channel><title>StyleCop</title><link>http://code.msdn.microsoft.com/sourceanalysis/Project/ProjectRss.aspx</link><description>StyleCop analyzes C&amp;#35; source code to enforce a set of style and consistency rules. It can be run from inside of Visual Studio or integrated into an MSBuild project</description><item><title>COMMENTED ISSUE: SA1636 firing inappropriately</title><link>http://code.msdn.microsoft.com/sourceanalysis/WorkItem/View.aspx?WorkItemId=258</link><description>We are using Resharper 4.5 and StyleCop 4.3.&lt;br /&gt;&lt;br /&gt;We have a project with many .CS files in it.  All files were processed using Clean Code from Resharper.  All files were modified to include an appropriate header as defined by StyleCop settings.  Four of the many files consistently get an SA1636 on them.  We cannot figure out why, and what the difference is between a file that receives no warning, and a file that does. &lt;br /&gt;Comments: This appears to be caused by inclusion of the &amp;#39;&amp;#169;&amp;#39; symbol.  If I replace it with &amp;#39;&amp;#40;c&amp;#41;&amp;#39; everything is fine.</description><author>dnorthut</author><pubDate>Fri, 06 Nov 2009 18:04:06 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: SA1636 firing inappropriately 20091106P</guid></item><item><title>CREATED ISSUE: SA1636 firing inappropriately</title><link>http://code.msdn.microsoft.com/sourceanalysis/WorkItem/View.aspx?WorkItemId=258</link><description>We are using Resharper 4.5 and StyleCop 4.3.&lt;br /&gt;&lt;br /&gt;We have a project with many .CS files in it.  All files were processed using Clean Code from Resharper.  All files were modified to include an appropriate header as defined by StyleCop settings.  Four of the many files consistently get an SA1636 on them.  We cannot figure out why, and what the difference is between a file that receives no warning, and a file that does. &lt;br /&gt;</description><author>dnorthut</author><pubDate>Fri, 06 Nov 2009 17:45:39 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: SA1636 firing inappropriately 20091106P</guid></item><item><title>NEW POST: Visual Studio 2010 &amp; .NET 4.0</title><link>http://code.msdn.microsoft.com/sourceanalysis/Thread/View.aspx?ThreadId=2512</link><description>&lt;div class="wikidoc"&gt;
Hi&lt;br /&gt; &lt;br /&gt;I have installed and integrated StyleCop into Visual Studio 2010, respectively into the C# projects as described in the following thread: http://code.msdn.microsoft.com/sourceanalysis/Thread/View.aspx?ThreadId=2283&lt;br /&gt;It works just fine for Projects targeting .NET Framework 3.5 (or 3.0 &amp;amp; 2.0). But if the Project targets the .NET Framework 4.0, StyleCop fires allways the following two warnings:&lt;br /&gt; &lt;br /&gt;- SA1003: The spacing around the symbol '=' is invalid.&lt;br /&gt;- SA1633: The file has no header, the header Xml is invalid, or the header is not located at the top of the file.&lt;br /&gt; &lt;br /&gt;Both warnings are issued by the the file &amp;quot;..\Local Settings\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs&amp;quot;&lt;br /&gt;It seems that Visual Studio 2010 produces that file an intermediate link this file into the C# project while building the project inside Visual Stduio.&lt;br /&gt; &lt;br /&gt;Has anbody the same problem or better a solution for that issue?&lt;br /&gt; &lt;br /&gt;Best Regards,&lt;br /&gt;Marco Erni&lt;br /&gt;
&lt;/div&gt;</description><author>MarcoErni</author><pubDate>Fri, 06 Nov 2009 12:17:45 GMT</pubDate><guid isPermaLink="false">NEW POST: Visual Studio 2010 &amp; .NET 4.0 20091106P</guid></item><item><title>COMMENTED ISSUE: VS 2005 IDE consumes 99% CPU when opening large unmanaged solution after installing StyleCop 4.3</title><link>http://code.msdn.microsoft.com/sourceanalysis/WorkItem/View.aspx?WorkItemId=71</link><description>After installing StyleCop 4.3, Visual Studio 2005 will consume 99&amp;#37; CPU &amp;#40;according to the Task Manager&amp;#41; when opening a large &amp;#40;&amp;#126;41 projects&amp;#41; solution containing mostly unmanaged C&amp;#47;C&amp;#43;&amp;#43; code. The CPU usage will occasionally drop to as low as 80&amp;#37;, but even after waiting several minutes while doing nothing, it did not drop down to an acceptable level.&lt;br /&gt;This behaviour does not occur when opening a solution that consists of one C&amp;#35; project.&lt;br /&gt;The CPU usage is so high it is almost impossible to select text in a source file, select menu items etc.&lt;br /&gt;Uninstalling StyleCop resolves the issue with no other changes required.&lt;br /&gt;Visual Studio is running in a standard user account &amp;#40;i.e. not an administrator account&amp;#41;.&lt;br /&gt;This issue is quite reproducible - I have installed and uninstalled StyleCop 4.3 several times to test this.&lt;br /&gt;Comments: I have come up with a better workaround for this problem.&amp;#10;&amp;#10;Enable MSBuild integration, as described here http&amp;#58;&amp;#47;&amp;#47;blogs.msdn.com&amp;#47;sourceanalysis&amp;#47;pages&amp;#47;source-analysis-msbuild-integration.aspx, then disable the StyleCop VS package by setting the registry key&amp;#58;&amp;#10;&amp;#10;&amp;#91;HKCU&amp;#92;Software&amp;#92;Microsoft&amp;#92;VisualStudio&amp;#92;9.0&amp;#92;Packages&amp;#92;&amp;#123;629EB7CC-69C2-43AC-9BC9-482B0F810C4E&amp;#125;&amp;#93;&amp;#64;SkipLoading &amp;#61; 0x1&amp;#10;&amp;#10;This will prevent you running StyleCop on demand, but it will still run as part of the build. The menu entries will remain but could probably be removed with a bit more registry hacking. If you want to edit the settings, you need to locate the StyleCop.Settings file in Explorer and open it, or you can add it to your project&amp;#47;solution and choose Open With&amp;#47;StyleCopSettingsEditor.&amp;#10;&amp;#10;If you have StyleCop For Resharper installed, you&amp;#39;ll even get squiggly lines on most errors even with the package disabled</description><author>phildevaney</author><pubDate>Fri, 06 Nov 2009 08:59:35 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: VS 2005 IDE consumes 99% CPU when opening large unmanaged solution after installing StyleCop 4.3 20091106A</guid></item><item><title>NEW POST: VB Version?</title><link>http://code.msdn.microsoft.com/sourceanalysis/Thread/View.aspx?ThreadId=383</link><description>&lt;div class="wikidoc"&gt;
I agree. Where's the VB version? Apart from the similarity with Java I completely fail to see the fascination with C#. VB code is so much easier to read. I'd also put in an ad for a documentation tool like NDoc for VB comments.   &lt;br /&gt;
&lt;/div&gt;</description><author>sedge55</author><pubDate>Thu, 05 Nov 2009 23:04:06 GMT</pubDate><guid isPermaLink="false">NEW POST: VB Version? 20091105P</guid></item><item><title>NEW POST: Installing StyleCop in w Team enviroment</title><link>http://code.msdn.microsoft.com/sourceanalysis/Thread/View.aspx?ThreadId=2497</link><description>&lt;div class="wikidoc"&gt;
Uh, what?&lt;br /&gt; &lt;br /&gt;I'm afraid I don't understand your question.&lt;br /&gt; &lt;br /&gt;If you're hand-editing a .csproj file, something has gone terribly wrong.&lt;br /&gt;
&lt;/div&gt;</description><author>Task</author><pubDate>Thu, 05 Nov 2009 14:10:11 GMT</pubDate><guid isPermaLink="false">NEW POST: Installing StyleCop in w Team enviroment 20091105P</guid></item><item><title>NEW POST: SuppressMessage not working for certain rules??</title><link>http://code.msdn.microsoft.com/sourceanalysis/Thread/View.aspx?ThreadId=2315</link><description>&lt;div class="wikidoc"&gt;
Hi!&lt;br /&gt; &lt;br /&gt;I do think that as StyleCop SuppressMessage must be set on an element, some rules, that applies to the whole file, can't be excluded this way.&lt;br /&gt; &lt;br /&gt;Regards,&lt;br /&gt; &lt;br /&gt;Olivier.&lt;br /&gt;
&lt;/div&gt;</description><author>olivier34</author><pubDate>Thu, 05 Nov 2009 13:00:38 GMT</pubDate><guid isPermaLink="false">NEW POST: SuppressMessage not working for certain rules?? 20091105P</guid></item><item><title>COMMENTED ISSUE: VS 2005 IDE consumes 99% CPU when opening large unmanaged solution after installing StyleCop 4.3</title><link>http://code.msdn.microsoft.com/sourceanalysis/WorkItem/View.aspx?WorkItemId=71</link><description>After installing StyleCop 4.3, Visual Studio 2005 will consume 99&amp;#37; CPU &amp;#40;according to the Task Manager&amp;#41; when opening a large &amp;#40;&amp;#126;41 projects&amp;#41; solution containing mostly unmanaged C&amp;#47;C&amp;#43;&amp;#43; code. The CPU usage will occasionally drop to as low as 80&amp;#37;, but even after waiting several minutes while doing nothing, it did not drop down to an acceptable level.&lt;br /&gt;This behaviour does not occur when opening a solution that consists of one C&amp;#35; project.&lt;br /&gt;The CPU usage is so high it is almost impossible to select text in a source file, select menu items etc.&lt;br /&gt;Uninstalling StyleCop resolves the issue with no other changes required.&lt;br /&gt;Visual Studio is running in a standard user account &amp;#40;i.e. not an administrator account&amp;#41;.&lt;br /&gt;This issue is quite reproducible - I have installed and uninstalled StyleCop 4.3 several times to test this.&lt;br /&gt;Comments: If this problem is still being looked into, here is a call stack on the main thread of devenv.exe. Hopefully, this will make more sense to you than it does to me&amp;#58;&amp;#13;&amp;#10;&amp;#13;&amp;#10;Microsoft.StyleCop.VSPackage.dll&amp;#33;Microsoft.StyleCop.VisualStudio.ProjectUtilities.GetProjectItemPath&amp;#40;EnvDTE.ProjectItem item &amp;#61; &amp;#123;System.__ComObject&amp;#125;&amp;#41; &amp;#43; 0x63 bytes&amp;#9;&amp;#13;&amp;#10;Microsoft.StyleCop.VSPackage.dll&amp;#33;Microsoft.StyleCop.VisualStudio.ProjectUtilities.EnumerateProjectItem&amp;#40;EnvDTE.ProjectItem item &amp;#61; &amp;#123;System.__ComObject&amp;#125;, string name &amp;#61; &amp;#34;nameofaprojectinalargesolution&amp;#34;, Microsoft.StyleCop.VisualStudio.ProjectUtilities.ProjectInvoker projectCallback &amp;#61; &amp;#123;Method &amp;#61; Cannot evaluate expression because a native frame is on top of the call stack.&amp;#125;, Microsoft.StyleCop.VisualStudio.ProjectUtilities.ProjectItemInvoker projectItemCallback &amp;#61; &amp;#123;Method &amp;#61; Cannot evaluate expression because a native frame is on top of the call stack.&amp;#125;, object projectContext, object fileContext&amp;#41; &amp;#43; 0x100 bytes&amp;#9;&amp;#13;&amp;#10;Microsoft.StyleCop.VSPackage.dll&amp;#33;Microsoft.StyleCop.VisualStudio.ProjectUtilities.EnumerateProjectItems&amp;#40;EnvDTE.ProjectItems items, string name &amp;#61; &amp;#34;nameofaprojectinalargesolution&amp;#34;, Microsoft.StyleCop.VisualStudio.ProjectUtilities.ProjectInvoker projectCallback &amp;#61; &amp;#123;Method &amp;#61; Cannot evaluate expression because a native frame is on top of the call stack.&amp;#125;, Microsoft.StyleCop.VisualStudio.ProjectUtilities.ProjectItemInvoker projectItemCallback &amp;#61; &amp;#123;Method &amp;#61; Cannot evaluate expression because a native frame is on top of the call stack.&amp;#125;, object projectContext &amp;#61; &amp;#123;Microsoft.StyleCop.VisualStudio.AnalysisHelper&amp;#125;, object fileContext &amp;#61; null&amp;#41; &amp;#43; 0x63 bytes&amp;#9;&amp;#13;&amp;#10;Microsoft.StyleCop.VSPackage.dll&amp;#33;Microsoft.StyleCop.VisualStudio.ProjectUtilities.EnumerateProjectItem&amp;#40;EnvDTE.ProjectItem item, string name, Microsoft.StyleCop.VisualStudio.ProjectUtilities.ProjectInvoker projectCallback, Microsoft.StyleCop.VisualStudio.ProjectUtilities.ProjectItemInvoker projectItemCallback, object projectContext, object fileContext&amp;#41; &amp;#43; 0xcf bytes&amp;#9;&amp;#13;&amp;#10;Microsoft.StyleCop.VSPackage.dll&amp;#33;Microsoft.StyleCop.VisualStudio.ProjectUtilities.EnumerateProjectItems&amp;#40;EnvDTE.ProjectItems items, string name &amp;#61; &amp;#34;nameofaprojectinalargesolution&amp;#34;, Microsoft.StyleCop.VisualStudio.ProjectUtilities.ProjectInvoker projectCallback &amp;#61; &amp;#123;Method &amp;#61; Cannot evaluate expression because a native frame is on top of the call stack.&amp;#125;, Microsoft.StyleCop.VisualStudio.ProjectUtilities.ProjectItemInvoker projectItemCallback &amp;#61; &amp;#123;Method &amp;#61; Cannot evaluate expression because a native frame is on top of the call stack.&amp;#125;, object projectContext &amp;#61; &amp;#123;Microsoft.StyleCop.VisualStudio.AnalysisHelper&amp;#125;, object fileContext &amp;#61; null&amp;#41; &amp;#43; 0x63 bytes&amp;#9;&amp;#13;&amp;#10;Microsoft.StyleCop.VSPackage.dll&amp;#33;Microsoft.StyleCop.VisualStudio.ProjectUtilities.EnumerateProject&amp;#40;EnvDTE.Project project, Microsoft.StyleCop.VisualStudio.ProjectUtilities.ProjectInvoker projectCallback, Microsoft.StyleCop.VisualStudio.ProjectUtilities.ProjectItemInvoker projectItemCallback, object projectContext, object fileContext&amp;#41; &amp;#43; 0x149 bytes&amp;#9;&amp;#13;&amp;#10;Microsoft.StyleCop.VSPackage.dll&amp;#33;Microsoft.StyleCop.VisualStudio.ProjectUtilities.SupportsStyleCop&amp;#40;Microsoft.StyleCop.VisualStudio.AnalysisHelper helper &amp;#61; &amp;#123;Microsoft.StyleCop.VisualStudio.AnalysisHelper&amp;#125;, Microsoft.StyleCop.VisualStudio.AnalysisType type&amp;#41; &amp;#43; 0x10f bytes&amp;#9;&amp;#13;&amp;#10;Microsoft.StyleCop.VSPackage.dll&amp;#33;Microsoft.StyleCop.VisualStudio.PackageCommandSet.StatusAnalyzeSolution&amp;#40;object sender &amp;#61; &amp;#123;Microsoft.VisualStudio.Shell.OleMenuCommand&amp;#125;, System.EventArgs eventArgs&amp;#41; &amp;#43; 0x15 bytes&amp;#9;&amp;#13;&amp;#10;Microsoft.VisualStudio.Shell.dll&amp;#33;Microsoft.VisualStudio.Shell.OleMenuCommand.OleStatus.get&amp;#40;&amp;#41; &amp;#43; 0x29 bytes&amp;#9;&amp;#13;&amp;#10;Microsoft.VisualStudio.Shell.dll&amp;#33;Microsoft.VisualStudio.Shell.OleMenuCommandService.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.QueryStatus&amp;#40;ref System.Guid guidGroup &amp;#61; &amp;#123;System.Guid&amp;#125;, uint nCmdId, Microsoft.VisualStudio.OLE.Interop.OLECMD&amp;#91;&amp;#93; oleCmd &amp;#61; &amp;#123;Microsoft.VisualStudio.OLE.Interop.OLECMD&amp;#91;1&amp;#93;&amp;#125;, System.IntPtr oleText &amp;#61; 45349544&amp;#41; &amp;#43; 0x166 bytes&amp;#9;&amp;#13;&amp;#10;Microsoft.VisualStudio.Shell.dll&amp;#33;Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.QueryStatus&amp;#40;ref System.Guid guidGroup, uint nCmdId, Microsoft.VisualStudio.OLE.Interop.OLECMD&amp;#91;&amp;#93; oleCmd, System.IntPtr oleText&amp;#41; &amp;#43; 0x47 bytes&amp;#9;&amp;#13;&amp;#10;&amp;#13;&amp;#10;I&amp;#39;d really like to be able to use StyleCop again. Unfortunately, my company&amp;#39;s main product is a large game composed of C&amp;#43;&amp;#43; projects so having nicely formatted source code files for the little tools I write isn&amp;#39;t worth the suffering.</description><author>parky37</author><pubDate>Thu, 05 Nov 2009 07:24:16 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: VS 2005 IDE consumes 99% CPU when opening large unmanaged solution after installing StyleCop 4.3 20091105A</guid></item><item><title>NEW POST: Installing StyleCop in w Team enviroment</title><link>http://code.msdn.microsoft.com/sourceanalysis/Thread/View.aspx?ThreadId=2497</link><description>&lt;div class="wikidoc"&gt;
Thanks very much Task.&lt;br /&gt; &lt;br /&gt;Do you need to add any import statements or the like into project files?&lt;br /&gt; &lt;br /&gt;Thank you!&lt;br /&gt;
&lt;/div&gt;</description><author>Tokyoant</author><pubDate>Wed, 04 Nov 2009 22:55:03 GMT</pubDate><guid isPermaLink="false">NEW POST: Installing StyleCop in w Team enviroment 20091104P</guid></item><item><title>NEW POST: SuppressMessage not working for certain rules??</title><link>http://code.msdn.microsoft.com/sourceanalysis/Thread/View.aspx?ThreadId=2315</link><description>&lt;div class="wikidoc"&gt;
 &lt;br /&gt;&lt;div class="quote"&gt;
 &lt;br /&gt;jestersoftware wrote:&lt;br /&gt;... any ideas? Am I placing the attribute wrong?&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt; &lt;br /&gt;Could be.&lt;br /&gt; &lt;br /&gt;He-he, show us yer code!&lt;br /&gt;
&lt;/div&gt;</description><author>Task</author><pubDate>Wed, 04 Nov 2009 20:14:28 GMT</pubDate><guid isPermaLink="false">NEW POST: SuppressMessage not working for certain rules?? 20091104P</guid></item><item><title>COMMENTED ISSUE: Syntax error warning calling methods on integer literals</title><link>http://code.msdn.microsoft.com/sourceanalysis/WorkItem/View.aspx?WorkItemId=249</link><description>Hi,&lt;br /&gt;&lt;br /&gt;StyleCop is giving me the error&amp;#58; &amp;#34;SA0102&amp;#58; A syntax error has been discovered in file...&amp;#34; for lines of code  where i use an extension method on an integer literal or a string literal such as&amp;#58;&lt;br /&gt;&lt;br /&gt;100.Times&amp;#40; i &amp;#61;&amp;#62; doSomething&amp;#40;i&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#47;&amp;#47; or&lt;br /&gt;&amp;#34;hello&amp;#34;.Length&lt;br /&gt;Comments: I also have this issue for extension methods on integer literals&amp;#58;&amp;#10;&amp;#10;10.PercentOf&amp;#40;20&amp;#41;&amp;#59; &amp;#47;&amp;#47; which would return 2</description><author>bhazzard</author><pubDate>Wed, 04 Nov 2009 19:58:09 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Syntax error warning calling methods on integer literals 20091104P</guid></item><item><title>NEW POST: Turn off SA0102</title><link>http://code.msdn.microsoft.com/sourceanalysis/Thread/View.aspx?ThreadId=2503</link><description>&lt;div class="wikidoc"&gt;
Is there anyway to turn off SA0102? I can turn off most of the other rules, but not this one.&lt;br /&gt; &lt;br /&gt;Why should a style checking tool also check my syntax? My build will fail anyway if my syntax is truly wrong.&lt;br /&gt; &lt;br /&gt;I have extension methods on int for example: 10.PercentOf(20) returns 2. StyleCop doesn't like this and raises a warning for SA0102 because it thinks it is incorrect syntax, but it builds and runs correctly, so...&lt;br /&gt;
&lt;/div&gt;</description><author>bhazzard</author><pubDate>Wed, 04 Nov 2009 19:44:22 GMT</pubDate><guid isPermaLink="false">NEW POST: Turn off SA0102 20091104P</guid></item><item><title>NEW POST: Cannot Suppress SA1002 and SA1009</title><link>http://code.msdn.microsoft.com/sourceanalysis/Thread/View.aspx?ThreadId=2347</link><description>&lt;div class="wikidoc"&gt;
I have the same question as FishDawg... why isn't suppression working? I'm having the same issue with SA1513 and SA1118:&lt;br /&gt; &lt;br /&gt;1.&lt;br /&gt; &lt;br /&gt;&lt;a href="http://code.msdn.microsoft.com/sourceanalysis/Wiki/View.aspx?title=SuppressMessage%28%22Microsoft.StyleCop.CSharp.ReadabilityRules%22%2c%20%22SA1118%3aParametersMustNotSpanMultipleLines%22%2c%20Justification%20%3d%20%22The%20current%20code%20is%20more%20readable%20than%20StyleCop%27s%20suggestion.%22%29"&gt;SuppressMessage(&amp;quot;Microsoft.StyleCop.CSharp.ReadabilityRules&amp;quot;, &amp;quot;SA1118:ParametersMustNotSpanMultipleLines&amp;quot;, Justification = &amp;quot;The current code is more readable than StyleCop's suggestion.&amp;quot;)&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;on method declaration: still getting warnings/errors.&lt;br /&gt; &lt;br /&gt;2.&lt;br /&gt; &lt;br /&gt;&lt;a href="http://code.msdn.microsoft.com/sourceanalysis/Wiki/View.aspx?title=SuppressMessage%28%22Microsoft.StyleCop.CSharp.LayoutRules%22%2c%20%22SA1513%3aClosingCurlyBracketMustBeFollowedByBlankLine%22%2c%20Justification%20%3d%20%22See%20http%3a%2f%2fcode.msdn.microsoft.com%2fsourceanalysis%2fWorkItem%2fView.aspx%3fWorkItemId%3d210.%22%29"&gt;SuppressMessage(&amp;quot;Microsoft.StyleCop.CSharp.LayoutRules&amp;quot;, &amp;quot;SA1513:ClosingCurlyBracketMustBeFollowedByBlankLine&amp;quot;, Justification = &amp;quot;See http://code.msdn.microsoft.com/sourceanalysis/WorkItem/View.aspx?WorkItemId=210.&amp;quot;)&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;on method declaration: still getting warnings/errors.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;Please help!&lt;br /&gt;
&lt;/div&gt;</description><author>jestersoftware</author><pubDate>Wed, 04 Nov 2009 16:29:33 GMT</pubDate><guid isPermaLink="false">NEW POST: Cannot Suppress SA1002 and SA1009 20091104P</guid></item><item><title>NEW POST: SuppressMessage not working for certain rules??</title><link>http://code.msdn.microsoft.com/sourceanalysis/Thread/View.aspx?ThreadId=2315</link><description>&lt;div class="wikidoc"&gt;
And what if I don't want to turn off the rule in general, I want to do it for just one method, or just one statement within a method? Putting it at the method declaration doesn't seem to work, even though I read it's supposed to &amp;quot;use the suppression for all code within the scope, i.e. method&amp;quot;... any ideas? Am I placing the attribute wrong? I can get SA1600 to work just fine.&lt;br /&gt; &lt;br /&gt;Thanks,&lt;br /&gt;- Jesse&lt;br /&gt;
&lt;/div&gt;</description><author>jestersoftware</author><pubDate>Wed, 04 Nov 2009 15:41:57 GMT</pubDate><guid isPermaLink="false">NEW POST: SuppressMessage not working for certain rules?? 20091104P</guid></item><item><title>NEW POST: Installing StyleCop with MSBuild</title><link>http://code.msdn.microsoft.com/sourceanalysis/Thread/View.aspx?ThreadId=2496</link><description>&lt;div class="wikidoc"&gt;
Tokyoant,&lt;br /&gt; &lt;br /&gt;That's what the 3rd party StyleCop check-in policy is really good for:&lt;br /&gt;http://teamfoundation.blogspot.com/2009/07/updated-stylecop-checkin-policy-v121.html&lt;br /&gt; &lt;br /&gt;You can do it via MSBuild if you want, but utilizing the power of TFS would be my suggestion.&lt;br /&gt; &lt;br /&gt;Enjoy!&lt;br /&gt;
&lt;/div&gt;</description><author>Task</author><pubDate>Wed, 04 Nov 2009 14:30:12 GMT</pubDate><guid isPermaLink="false">NEW POST: Installing StyleCop with MSBuild 20091104P</guid></item><item><title>NEW POST: Installing StyleCop in w Team enviroment</title><link>http://code.msdn.microsoft.com/sourceanalysis/Thread/View.aspx?ThreadId=2497</link><description>&lt;div class="wikidoc"&gt;
Assuming that by &amp;quot;Team environment&amp;quot; you mean you're using TFS, then yes, I know a specific way to pull that off.&lt;br /&gt; &lt;br /&gt;The method that I've found that works really well is:&lt;br /&gt;- Add a StyleCop.Settings file to the solution (or even the Team Project if all developers work at that level) as a &amp;quot;Solution Item&amp;quot;, check in the changes.&lt;br /&gt;- Add a TFS check-in policy (free download!) to run StyleCop.&lt;br /&gt; &lt;br /&gt;There are other ways, but that settings file in a top level directory that everyone will &amp;quot;Get Latest&amp;quot; on is really the key.&lt;br /&gt;
&lt;/div&gt;</description><author>Task</author><pubDate>Wed, 04 Nov 2009 14:24:15 GMT</pubDate><guid isPermaLink="false">NEW POST: Installing StyleCop in w Team enviroment 20091104P</guid></item><item><title>NEW POST: Installing StyleCop with MSBuild</title><link>http://code.msdn.microsoft.com/sourceanalysis/Thread/View.aspx?ThreadId=2496</link><description>&lt;div class="wikidoc"&gt;
Hi Tokyoant,&lt;br /&gt; &lt;br /&gt;I suggest you just to follow the StyleCop setup wizard that will install files for MSBuild on Windows platform... &lt;br /&gt;Not installed on developers' workstations means no check by developers before a Build.&lt;br /&gt; &lt;br /&gt;Olivier.&lt;br /&gt;
&lt;/div&gt;</description><author>olivier34</author><pubDate>Wed, 04 Nov 2009 09:08:10 GMT</pubDate><guid isPermaLink="false">NEW POST: Installing StyleCop with MSBuild 20091104A</guid></item><item><title>NEW POST: Installing StyleCop in w Team enviroment</title><link>http://code.msdn.microsoft.com/sourceanalysis/Thread/View.aspx?ThreadId=2497</link><description>&lt;div class="wikidoc"&gt;
Hi Tokyoant,&lt;br /&gt; &lt;br /&gt;You can manage StyleCop settings files with your Configuration Management Tool, like your source code files, so that they will be shared.&lt;br /&gt; &lt;br /&gt;Olivier.&lt;br /&gt;
&lt;/div&gt;</description><author>olivier34</author><pubDate>Wed, 04 Nov 2009 09:06:25 GMT</pubDate><guid isPermaLink="false">NEW POST: Installing StyleCop in w Team enviroment 20091104A</guid></item><item><title>NEW POST: Why?</title><link>http://code.msdn.microsoft.com/sourceanalysis/Thread/View.aspx?ThreadId=2440</link><description>&lt;div class="wikidoc"&gt;
&amp;gt; a mechanism to regenerate the documentation &lt;br /&gt;Yes, I agree that it could be a great feature.&lt;br /&gt;+1&lt;br /&gt;Olivier.&lt;br /&gt;
&lt;/div&gt;</description><author>olivier34</author><pubDate>Wed, 04 Nov 2009 08:59:12 GMT</pubDate><guid isPermaLink="false">NEW POST: Why? 20091104A</guid></item><item><title>COMMENTED ISSUE: VS 2005 IDE consumes 99% CPU when opening large unmanaged solution after installing StyleCop 4.3</title><link>http://code.msdn.microsoft.com/sourceanalysis/WorkItem/View.aspx?WorkItemId=71</link><description>After installing StyleCop 4.3, Visual Studio 2005 will consume 99&amp;#37; CPU &amp;#40;according to the Task Manager&amp;#41; when opening a large &amp;#40;&amp;#126;41 projects&amp;#41; solution containing mostly unmanaged C&amp;#47;C&amp;#43;&amp;#43; code. The CPU usage will occasionally drop to as low as 80&amp;#37;, but even after waiting several minutes while doing nothing, it did not drop down to an acceptable level.&lt;br /&gt;This behaviour does not occur when opening a solution that consists of one C&amp;#35; project.&lt;br /&gt;The CPU usage is so high it is almost impossible to select text in a source file, select menu items etc.&lt;br /&gt;Uninstalling StyleCop resolves the issue with no other changes required.&lt;br /&gt;Visual Studio is running in a standard user account &amp;#40;i.e. not an administrator account&amp;#41;.&lt;br /&gt;This issue is quite reproducible - I have installed and uninstalled StyleCop 4.3 several times to test this.&lt;br /&gt;Comments: This definitely does happen in 2008, and I provided the team with a solution that demonstrates the problem. The problem does seem to have improved somewhat with the latest build, but it is still noticeably slower for unmanaged solutions than without StyleCop installed. However, I have come up with a workaround, which is to run VS from a batch file that first disables the StyleCop package, e.g.&amp;#58;&amp;#10;&amp;#10;&amp;#64;echo off&amp;#10;&amp;#10;reg add HKCU&amp;#92;Software&amp;#92;Microsoft&amp;#92;VisualStudio&amp;#92;9.0&amp;#92;Packages&amp;#92;&amp;#123;629EB7CC-69C2-43AC-9BC9-482B0F810C4E&amp;#125; &amp;#47;v SkipLoading &amp;#47;t REG_DWORD &amp;#47;d 1 &amp;#47;f&amp;#10;cd &amp;#47;d &amp;#34;&amp;#37;ProgramFiles&amp;#40;x86&amp;#41;&amp;#37;&amp;#92;Microsoft Visual Studio 9.0&amp;#92;Common7&amp;#92;ide&amp;#92;&amp;#34;&amp;#10;start devenv.exe&amp;#10;exit&amp;#10;&amp;#10;Plus a similar batch file to enable the package again &amp;#40;&amp;#47;d 0&amp;#41;. Then I start VS with the appropriate batch file depending on whether I want to open a managed or unmanaged solution.</description><author>phildevaney</author><pubDate>Wed, 04 Nov 2009 08:45:17 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: VS 2005 IDE consumes 99% CPU when opening large unmanaged solution after installing StyleCop 4.3 20091104A</guid></item></channel></rss>