FXCop - assembly reference not found

I try to use Microsoft FXCop Version 1.36 on a compact edition, but when I analyze the project, I get the following error.

The following referenced assembly cannot be found. This assembly is required for analysis, and refers to application.exe

System.Windows.Forms, Version = 3.5.0.0, Culture = Neutral, PublicKeyToken = 969db8053d3322ac, Custom = Yes

It allows me to find the node, but it will not allow me to select it in the GAC.

This build is in the GAC, and the application itself works great. Do I need to do something to get FX Cop to find it?

Update: I tried to set the "Search global build cache for missing links" in the project options

+3
source share
2 answers

I had the same error message, but with a different assembly. The corresponding assembly was located in some random folder on my hard drive, and not in my project (do not ask me why). I moved the assembly FxCop complained about my folder with the project bin and it worked fine (again, don't ask why)

0
source

Would it help you if you pointed to the actual .NET CF builds as indicated in this MSDN forum post ?

0
source

Source: https://habr.com/ru/post/1710111/


All Articles