外部工具(esriRegasm.exe)在构建过程中失败.它在我的VS项目中的哪里执行? [英] External tool (esriRegasm.exe) fails during build. Where in my VS project is it executed?

查看:69
本文介绍了外部工具(esriRegasm.exe)在构建过程中失败.它在我的VS项目中的哪里执行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从ESRI编译示例,但出现此错误

I am trying to compile a sample from ESRI and I get this error

错误1:命令"esriRegasm.exe CommandInheritingBaseCommand.dll"/p:Desktop/s"退出,代码为-1.

Error 1: The command "esriRegasm.exe CommandInheritingBaseCommand.dll" /p:Desktop /s" exited with code -1.

因此,必须有一个命令可以在项目中的某个地方调用 esriRegasm.exe ,但是我找不到它.我右键单击项目→属性,并查看了 Build Build Events 标签,但在此未找到任何内容.还能在哪里?

So, there must be a command to invoke esriRegasm.exe somewhere in the project, but I cannot find it. I right-clicked on the project → Properties and looked in Build and Build Events tabs, but found nothing there. Where else could it be?

推荐答案

我找不到答案,但是我通过在Windows 7中以管理员"身份而非用户身份发展而解决了esriRegasm错误.

I couldn't find the answer, but I got around the esriRegasm error by developing as "Administrator" in Windows 7 and not as a user.

这篇关于外部工具(esriRegasm.exe)在构建过程中失败.它在我的VS项目中的哪里执行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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