Ich versuche, die Codeanalyse für ein Projekt manuell auszuführen und erhalte folgende Fehlermeldung: CA0055: Die Datei xxx.dll konnte nicht geladen werden.
Dies ist ein detailliertes Protokoll von xml log:
<Exception Keyword="CA0055" Kind="AssemblyLoad">
<Type>Microsoft.FxCop.Common.AssemblyLoadException</Type>
<ExceptionMessage>Could not load D:\...\bin\debug\xxx.dll.</ExceptionMessage>
<InnerType>System.IO.InvalidDataException</InnerType>
<InnerExceptionMessage>Invalid type for custom attribute argument</InnerExceptionMessage>
<InnerStackTrace> at
Phx.Metadata.LoaderImplementation.DeserializePointerTypeConstant(Type type,
AttributeBlobReader& blobReader, Boolean doResolveEnums)
at Phx.Metadata.LoaderImplementation.DeserializeConstant(Type type,
AttributeBlobReader& blobReader, Boolean doResolveEnums)
at Phx.Metadata.MetadataLoader.ParseCustomAttribute(AttributeSymbol attributeSymbol,
Boolean doResolveEnums)
at Microsoft.FxCop.Engines.Phoenix.AssemblyLoader.LoadAttributes(List`1 attributes,
MetadataLoader metadataLoader)
at Microsoft.FxCop.Engines.Phoenix.AssemblyLoader.LoadAttributes(ProgramUnit
programUnit, MetadataLoader metadataLoader)
at Microsoft.FxCop.Engines.Phoenix.AssemblyLoader.LoadAssembly(String filePath)
at Microsoft.FxCop.Engines.Phoenix.PhoenixAnalysisEngine.AnalyzeInternal()
</InnerStackTrace>
</Exception>
Die xxx.dll ist im Pfad vorhanden und der Zugriff ist erlaubt.
Kann jemand helfen, was falsch sein kann?
danke