Could not locate the assembly Microsoft.Cci

Topics: Mobile Client Software Factory
Jul 31, 2006 at 1:58 PM
originally posted by: ScottCB

FxCop is installed, but getting C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets : warning MSB3245: Could not resolve this reference. Could not locate the assembly "Microsoft.Cci".
Jul 31, 2006 at 2:06 PM
originally posted by: ScottCB

Solved by installing in GAC
Sep 7, 2006 at 3:47 AM
originally posted by: johnkattenhorn

Is this the real solution, this is not mentioned anywhere in the documentation i can find.

Thanks

John
Sep 8, 2006 at 10:55 AM
originally posted by: dcazzulino

There's an issue with the installer where the only workaround is the one mentioned, to install the CCi assembly on the GAC.

The problem is that the expected behavior was supposed to be that the user places the CCI assembly in the Lib folder under Tools\ObGen/CabGen. But then we added the compilation of these tools as part of the installer, and that means the installer fails as the library is not in the folder yet, so the entire MSI installation rolls back :(.

For now, installing CCI on the GAC should work fine.
Sep 19, 2006 at 4:34 AM
originally posted by: jasonjm

As reference for any user searching this forum,

(To Install into the GAC)
gacutil /i AssemblyFileName.dll

(Uninstalling from the GAC)
gacutil /u AssemblyFileName.dll