DLL Will Not Load in FxCop on Windows Server 2008

I was attempting to install the SharePoint dispose checker into my FxCop program using the rules dll found here, http://spdisposecheckstatic.codeplex.com/.  After getting everything install I tried running FxCop and received the getting an error that the application could not properly load the assembly.


Fix:

-Close FxCop

-Right click on the SPDisposeCheckRules.dll and go to the properties of the file.


-Click the 'Unlock' button on the General tab of the properties form.


-Fun FxCop again and the error should be gone.

Comments

Popular posts from this blog

Add User As Local Administrator On Domain Controller

An error occurred while applying security information to

Display ADFS 2.0 Forms Authentication Login Page Instead of Windows Authentication Prompt