代码覆盖率:vstp instrument exe文件接收错误消息:错误VSP1019:内部错误。 HRESULT = 80004005 [英] Code Coverage : vstp instrument exe file receive error message:Error VSP1019: Internal error. HRESULT=80004005

查看:150
本文介绍了代码覆盖率:vstp instrument exe文件接收错误消息:错误VSP1019:内部错误。 HRESULT = 80004005的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用vsinstr.exe仪器一个exe文件时,收到错误消息:

when i use vsinstr.exe instrument one exe file,I receive error message:

错误VSP1019:内部错误。   HRESULT = 80004005,原因是什么?

Error VSP1019: Internal error.  HRESULT=80004005,what's the reasons?

虽然某些文件可以通过&vsbsptr.exe成功进行检测

while some files can be sucessfully instrumented by vsinstr.exe

只显示如下:

Microsoft(R)VSInstr Post-Link Instrumentation 10.0.40219 x86

Microsoft (R) VSInstr Post-Link Instrumentation 10.0.40219 x86

版权所有(C)Microsoft Corp.保留所有权利。

Copyright (C) Microsoft Corp. All rights reserved.

要处理的文件:

  F:\ cpp_projects \client \ source \build\Release\xxx.exe - > F:\ cpp_projects \client\source\build\Release\xxx.exe

 F:\cpp_projects\client\source\build\Release\xxx.exe --> F:\cpp_projects\client\source\build\Release\xxx.exe

备份到F的原始文件:\ cpp_projects \client \ sources. \\ build \ Release。\\ ttpp_checker.exe.orig

Original file backed up to F:\cpp_projects\client\source\build\Release\tgp_checker.exe.orig

错误VSP1019:内部错误。   HRESULT = 80004005

Error VSP1019: Internal error.  HRESULT=80004005

推荐答案

嗨myactorai,

欢迎来到MSDN论坛。

 您提到了标题中的代码覆盖率,那么您是如何运行单元测试的呢?在
VS(分析所选 测试的代码覆盖率)或在命令行中启用代码覆盖率 使用  vstest.console.exe ?  请提供一些信息,这可以帮助我们重新制作并帮助您
更好。

 You mentioned the code coverage in the title, so how did you run the unit test? In VS(analyze code coverage for selected tests) or enable the code coverage in command line by using vstest.console.exe? Please offer some info which could help us to repro it and help you better.

仅基于错误, "HRESULT = 80004005"通常表示未指定的失败。此问题可能是由错误的EXE文件引起的。

请参阅以下链接以了解如何使用VSInstr.exe工具用于检测本机组件,如C ++ .exe文件。

https://msdn.microsoft.com/en-us/library/ dd255369.aspx

 

祝你好运,

 

Fletcher


这篇关于代码覆盖率:vstp instrument exe文件接收错误消息:错误VSP1019:内部错误。 HRESULT = 80004005的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆