How Can I Set the thread count in FxCopCmd?  
Author Message
Berky13





PostPosted: Visual Studio Code Analysis and Code Metrics, How Can I Set the thread count in FxCopCmd? Top

I have created a custom rule. Once in a while it deadlocks. How can I set the number of threads to one using the command tool. My app. creates a batch file.

Thank You,

Jason J.



Visual Studio Team System6  
 
 
Jeffrey van Gogh - MSFT





PostPosted: Visual Studio Code Analysis and Code Metrics, How Can I Set the thread count in FxCopCmd? Top

Hi Jason,

you should really try to fix this deadlock in your code as analysis really benefits from being multi-threaded. If you still need to work around it temporarily use the following steps:

this can only be done from within the FxCop standalone UI:

-goto Tools,
-Settings,
-Analysis Engines,
-Select Introspection
-click the Settings button
-select the amount of threads you want to use.
-FxCop and FxCopCmd will both respect this setting.

Regards,

Jeffrey


 
 
Berky13





PostPosted: Visual Studio Code Analysis and Code Metrics, How Can I Set the thread count in FxCopCmd? Top

Thanks Jeffrey,

I knew how to set it in FxCop UI but didnt know that FxCopCmd would follow it. Thanks Again.