locked
HOW to intergrate fxCOP with VS2005 RRS feed

  • Question

  • I am getting error as

    error : CA0001

    : The following error was encountered while reading module 'RollerTester': Assembly reference not resolved: DIControl, Version=1.0.3688.30627, Culture=neutral, PublicKeyToken=null.

    Monday, February 8, 2010 12:48 PM

Answers

  • Hello,

    Code Analysis is only integrated with Visual Studio Development edition and Team Suite edition. Please get a proper version of VS. After installed, for example, Visual Studio Team Suite, we could right click the project name and select Run Code Analysis option. For more information on how to run Code Analysis in Visual Studio, please refer to: http://msdn.microsoft.com/en-us/library/bb907198.aspx

    If we installed other version of VS, there is a stand alone FxCop tool for us (it is available here).

    As for the error: CA0001, please find the DIControl assembly and put it in the same directory of RollerTester.
    If we are developing custom rules, a CodeAnalysisReport.xml report  may help you:
    http://msdn.microsoft.com/en-us/library/ms245246(VS.80).aspx

    Best regards


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback, please tell us.
    Welcome to the All-In-One Code Framework!
    • Marked as answer by liurong luo Monday, February 15, 2010 2:26 AM
    Tuesday, February 9, 2010 6:13 AM

All replies

  • Hello,

    Code Analysis is only integrated with Visual Studio Development edition and Team Suite edition. Please get a proper version of VS. After installed, for example, Visual Studio Team Suite, we could right click the project name and select Run Code Analysis option. For more information on how to run Code Analysis in Visual Studio, please refer to: http://msdn.microsoft.com/en-us/library/bb907198.aspx

    If we installed other version of VS, there is a stand alone FxCop tool for us (it is available here).

    As for the error: CA0001, please find the DIControl assembly and put it in the same directory of RollerTester.
    If we are developing custom rules, a CodeAnalysisReport.xml report  may help you:
    http://msdn.microsoft.com/en-us/library/ms245246(VS.80).aspx

    Best regards


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback, please tell us.
    Welcome to the All-In-One Code Framework!
    • Marked as answer by liurong luo Monday, February 15, 2010 2:26 AM
    Tuesday, February 9, 2010 6:13 AM
  • Hello,

    I'm writing to follow up. Please feel free to let me know if the issue has been resolved.

    Thanks a lot!
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback, please tell us.
    Welcome to the All-In-One Code Framework!
    Thursday, February 11, 2010 6:31 AM