I have created the custom rule using Microsoft FxCop 1.36 in visual studio 2010 and I pasted the custom rule dll in the C:\Program Files\Microsoft FxCop 1.36\Rules
folder.
Then I opened Microsoft Fxcop. I am getting error as the following..
Unable to load rule assembly 'C:\Users\user\Documents\Visual Studio 2010\Projects\MyCustomRule\MyCustomRule\bin\Debug\MyCustomRule.dll': Could not load file or assembly 'file:///C:\Users\user\Documents\Visual Studio 2010\Projects\MyCustomRule\MyCustomRule\bin\Debug\MyCustomRule.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
If any one knows about it please tell me...
Thanks in advance