Referencing to external assembly in FxCop Visual studio Rules RRS feed

  • Question

  • Hello. I am referencing XamlTools.dll in my custom Xaml rule. If i place it in the VS2010 Rules folder, the Code Analysis of Visual Studio tries to recognize it as a rule and throws an exception which i got from codeanalysis.xml

      <Exception Keyword="CA0053" Kind="AssemblyLoad">
       <ExceptionMessage>Unable to load rule assembly 'c:\program files (x86)\microsoft visual studio 10.0\team tools\static analysis tools\fxcop\rules\microsoft.xaml.tools.silverlight.dll': The assembly contains no FxCop rules.</ExceptionMessage>
    So is there any way to point the Code analysis not to treat it as a rule? Or can i make the references in the custom rule some where else other than the rules folder of the VS2010?


    Or could you please refer me to a proper forum if this is not the right one to ask?




    • Moved by Jesse Jiang Wednesday, June 1, 2011 7:59 AM (From:Windows Mobile Development)
    Monday, May 30, 2011 3:59 PM

All replies