简体   繁体   English

使用Visual Studio 2012进行代码分析

[英]Code analysis with Visual studio 2012

I am trying to utilize code analysis for the first time with Visual Studio 2012. When I enable code analysis on build I get following error 我正在尝试使用Visual Studio 2012第一次使用代码分析。当我在构建时启用代码分析时,我得到以下错误

    2>c1xxast : fatal error C1250: Unable to load plug-in '  local_path\packages\Microsoft.CppCoreCheck.14.0.24210.1\build\native\\EspXEngine.dll'.

Is it due to the two backward slashes at the end? 这是由于最后的两个反斜杠? How do I fix this? 我该如何解决?

I am trying to compile it in debug mode - x64 configuration. 我试图在调试模式下编译它 - x64配置。 My project uses precompiled headers. 我的项目使用预编译头。 Any insights appreciated. 任何见解都表示赞赏。

Thanks 谢谢

The C++ Core Checker (that Microsoft.CppCoreCheck NuGet package) requires at least VS2015 Update 1, as explained in the initial blog post . C ++ Core Checker(即Microsoft.CppCoreCheck NuGet包)至少需要VS2015 Update 1,如最初的博客文章中所述 You can still run code analysis without the C++ Core Checker, but it will not be check for as many issues. 您仍然可以在没有C ++核心检查程序的情况下运行代码分析,但它不会检查很多问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM