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.
-Fun FxCop again and the error should be gone.
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
Post a Comment