Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 0.3
-
Fix Version/s: 0.4
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
My fxcop analysis fail because it doesn't found additional assemblies, which are stored in a "Lib" folder (relative path).
Sometimes it's because some assemblies depends on version 1.X but I'm using "assembly binding" to force version 2.X. But in this case, FXCop need the 1.X version to run the analysis.
I'm able to fix it manually with the current settings in FXCop:
<Targets>
<AssemblyReferenceDirectories>
<Directory>$(ProjectDir)/Lib/Spring.net/1.3</Directory>
<Directory>$(ProjectDir)/Lib/NHibernate/2.0</Directory>
</AssemblyReferenceDirectories>
As a dotnet-maven user
I want to set additional path in the POM.xml
To be able to run fxcop analysis in my project
[INFO] Initializing Introspection engine...
[INFO] Could not resolve reference to NHibernate.
[INFO] Analysis Complete.
[INFO]
[INFO] NOTE: One or more referenced assemblies could not be found. Use the '/directory' switch to specify additional assembly reference search paths.