This is a discussion on FxCop 1.36: 'Referenced assembly could not be found' for assemblies in GAC within the C# Programming forums, part of the Software Development category; FxCop 1.36: 'Referenced assembly could not be found' for assemblies in GAC Hi, I am using FxCop 1.36 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| FxCop 1.36: 'Referenced assembly could not be found' for assemblies in GAC Hi, I am using FxCop 1.36 and VS2008 SP1. We have a number of solutions and projects in our organization. Some are placed in the GAC by a post-build event. These projects exist within our solutions and are added as project references to other projects. Projects that reference these GAC assemblies do not create local copies of them, and when we run FxCop on those projects, it fails to resolve those assemblies. Since the assemblies are installed into the GAC after being built, and they are all set to version 1.0.0.0, I am confident there is not an assembly version problem. Of course I can tell the project file where the assembly is located, and it's nice that it remembers, but it seems like FxCop should be able to reference assemblies in the GAC directly. Can anyone point me towards what I might be doing wrong? I have created a small test solution that reproduces this problem on multiple computers in my organization; it is available at the following URL: http://www.crazyfarts.com/codesamples/FxCopGacTest.zip
__________________ A.Rajesh Khanna |
|
#2
| |||
| |||
| Hi, In FxCop 1.36 go to menu "Project" Select "Options..." In the tab "Spellings & Analysis" select "Search Global Assembly Cache for missing references" option That's all |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Rule for generated code is ignored in FxCop 1.36 when it shouldn't be | shaalini | C# Programming | 2 | 06-18-2009 08:13 PM |
| FxCop 1.36 and theGlobalSuppression.cs | shaalini | C# Programming | 7 | 06-17-2009 11:44 PM |
| Is Versioning applicable to private assemblies? | mobilegeek | ASP and ASP.NET Programming | 5 | 08-07-2007 03:01 AM |
| Which Javascript file is referenced for validating the validators at the client side? | mobilegeek | HTML, CSS and Javascript Coding Techniques | 1 | 07-25-2007 10:15 PM |
| How do assemblies find each other in dot net 2005 ? | Archer | C# Programming | 1 | 07-25-2007 02:44 AM |
Our Partners |