Visual studio 2013 Visual Studio 2013代码分析异常CA0055:无法加载程序集
我试图在VS2013中运行Web项目上的代码分析,但遇到异常CA0055 我看了一下日志文件。以下是正在记录的异常信息Visual studio 2013 Visual Studio 2013代码分析异常CA0055:无法加载程序集,visual-studio-2013,code-analysis,Visual Studio 2013,Code Analysis,我试图在VS2013中运行Web项目上的代码分析,但遇到异常CA0055 我看了一下日志文件。以下是正在记录的异常信息 <Exception Keyword="CA0055" Kind="AssemblyLoad"> <Type>Microsoft.FxCop.Common.AssemblyLoadException</Type> <ExceptionMessage>Could not load MyProject.dll.</Excepti
<Exception Keyword="CA0055" Kind="AssemblyLoad">
<Type>Microsoft.FxCop.Common.AssemblyLoadException</Type>
<ExceptionMessage>Could not load MyProject.dll.</ExceptionMessage>
<InnerType>System.NullReferenceException</InnerType>
<InnerExceptionMessage>Object reference not set to an instance of an object.</InnerExceptionMessage>
<InnerStackTrace> at Phx.Metadata.ReaderImplementation.CreateTokenMap()
at Phx.Metadata.MetadataLoader.GetModule(String fileName, FileInfo fileInfo, AssemblyUnit unit)
at Phx.Metadata.MetadataLoader.GetAssembly(String fileName, AssemblyUnit unit)
at Phx.Metadata.MetadataLoader.LoadAssemblyDefinition(AssemblyUnit unit)
at Microsoft.FxCop.Engines.Phoenix.AssemblyLoader.ProcessWorklist(MetadataLoader metadataLoader, Boolean ignoreErrors)
at Microsoft.FxCop.Engines.Phoenix.AssemblyLoader.LoadAttributeType(AggregateType type, MetadataLoader metadataLoader)
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>
Microsoft.FxCop.Common.AssemblyLoadException
无法加载MyProject.dll。
System.NullReferenceException
对象引用未设置为对象的实例。
在Phx.Metadata.ReaderImplementation.CreateTokenMap()中
位于Phx.Metadata.MetadataLoader.GetModule(字符串文件名、FileInfo文件名、AssemblyUnit)
位于Phx.Metadata.MetadataLoader.GetAssembly(字符串文件名,AssemblyUnit)
位于Phx.Metadata.MetadataLoader.LoadAssemblyDefinition(AssemblyUnit)
位于Microsoft.FxCop.Engines.Phoenix.AssemblyLoader.ProcessWorklist(MetadataLoader MetadataLoader,布尔ignoreErrors)
位于Microsoft.FxCop.Engines.Phoenix.AssemblyLoader.LoadAttributeType(聚合类型,MetadataLoader MetadataLoader)
在Microsoft.FxCop.Engines.Phoenix.AssemblyLoader.LoadAttributes(列出'1个属性,MetadataLoader MetadataLoader)
位于Microsoft.FxCop.Engines.Phoenix.AssemblyLoader.LoadAttributes(ProgramUnit ProgramUnit、MetadataLoader MetadataLoader)
位于Microsoft.FxCop.Engines.Phoenix.AssemblyLoader.LoadAssembly(字符串文件路径)
在Microsoft.FxCop.Engines.Phoenix.PhoenixAnalysisEngine.AnalyzeInternal()上
有没有人遇到过同样的问题?任何线索都会有很大帮助