Visual Studio注册表捕获实用程序已停止工作,错误编译C#项目在Windows7中 [英] Visual Studio registry capture utility has stopped working, error compiling C# project in Windows7

查看:417
本文介绍了Visual Studio注册表捕获实用程序已停止工作,错误编译C#项目在Windows7中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Windows 7每次编译我的项目时显示如下所示的编译错误。

Windows 7 Shows build error like below everytime I compile my project.

推荐答案

来自Microsoft Connect


  1. 在这里找到regcap.exe:C:\Program Files\Microsoft Visual Studio 9.0 \Common7\Tools \Deployment

  2. 右键点击并选择属性。

  3. 选择兼容性选项卡

  4. 复选框以兼容模式运行此程序。 >
  5. 在操作系统下拉菜单中选择Windows Vista SP2并以管理员身份运行。

  6. 单击确定并重新编译。

  1. Locate regcap.exe here: C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\Deployment
  2. Right click and select properties.
  3. Select Compatibility tab
  4. Check box to Run this program in compatibility mode.
  5. Select Windows Vista SP2 in the OS drop-down and Run as Administrator.
  6. Click Ok and Recompile.

此解决方案也适用于使用Visual Studio 2008(32位版本)的Windows 7,在第5步中,您只需选中最后一个组框特权级别为以管理员身份运行此程序

This solution also works on Windows 7 with Visual Studio 2008 (32 bit version), where in the 5th step, you just need to select the check box in the last group box "Privilege Level" for "Run this program as an administrator"

这篇关于Visual Studio注册表捕获实用程序已停止工作,错误编译C#项目在Windows7中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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