Get error when i add custom fxcop rules in FxCop1.35

Hi,

I created custom rules and added with FxCop 1.32 and i was working with it.

It was working quite fine.

Then i installed FxCop1.35 and tried to add my custom fxcop rules it throws error and says,

"Unable to load rules assembly. The assembly contains no fxcop rules defined."

Could any one explain why i get this error.

Is there any version mismatch or something like that?

Thanks in advance.

[475 byte] By [Guns] at [2007-12-22]
# 1
Did you recompile your custom rules? Because our core API has changed in 1.35, we have reversioned FxCopSdk.dll. You need to migrate your checks to 1.35 and rebuild before they will load and execute.
MichaelFanning-MS at 2007-8-30 > top of Msdn Tech,Visual Studio Team System,Visual Studio Code Analysis and Code Metrics...
# 2
Thanks a lot Michael.
Guns at 2007-8-30 > top of Msdn Tech,Visual Studio Team System,Visual Studio Code Analysis and Code Metrics...
# 3

Hi Michael,

I have written custom rules according to the project requirments, and i have sucessfully build the project and when i tried to add the corresponding Dll to the rules, it says "Unable to load rule assembly 'C:Visual Studio 2005\Projects\CompanyRules\CompanyRules\bin\Debug\CompanyRules.dll': The assembly contains no FxCop rules", can u hlep me in resolving this problem.

Regards,

Nagaraju.Somisetty

NagarajuSomisetty at 2007-8-30 > top of Msdn Tech,Visual Studio Team System,Visual Studio Code Analysis and Code Metrics...

Visual Studio Team System

Site Classified