问题:命令“regsvr32 /s /n /i:user "F:\XXXXXXXXXXXXXXXXX\Release\One.ocx"”已退出,代码为 3

解决方法:

The issue that causes "Error MSB3073 exited with code 3" happens to be with the VALUE in the Outputs property under Project > Properties > Configuration Properties > Custom Build Step.

When I choose Edit for Outputs, a dialog box comes up.  I enter a value of "$(OutDir)\regsvr32.trg" in the upper textbox then click OK.  Now for some reason VS 2010 changes the display text to show "$(OutDir)\regsvr32.trg;%(Outputs)".  I'm not sure why or if that is the cause of the problem.

However, I will get "Build Successful" if I change my Output value to "<inherit from parent or project defaults>" instead of choosing Edit and putting a value in.  No more Error MSB3073 exited with code 3.

I guess I can say this issue is resolved but I'd like to know why/what causes this issue to begin with.

项目属性-》自定义生成步骤(Custom Build Step)-》输出(Outputs)-》Edit,弹出框,在上面输入框输入“$(OutDir)\regsvr32.trg”,同时勾选下面“inherit from parent or project defaults”  点击OK, 重新编译 ,问题解决

最新文章

  1. 华清远见成为ARM大学计划正式合作伙伴
  2. 总结:ADO.NET在开发中的部分使用方法和技巧
  3. 一个现代化的JSON库Moshi针对Android和Java
  4. 编码问题导致样式显示在IE中不正常
  5. ok6410 u-boot-2012.04.01移植七完善u-boot移植(u-boot移植结束)
  6. 下一个项目为什么要用 SLF4J
  7. linux下部署php项目-Apache、php、mysql关联
  8. NopCommerce添加事务机制
  9. css相关 细节 优化 备忘
  10. 7. Reverse Integer Add to List★
  11. USB协议学习
  12. 微信小程序的一些小知识点
  13. js 格式化时间日期函数小结
  14. Linux 第三天
  15. nginx php-fpm安装配置(转)
  16. java struts2入门学习实例--用户注册和用户登录整合
  17. java中的对象和类
  18. lodop打印控件需要开启的几个计算机服务
  19. [转载]Java线程的两种实现方式
  20. matplotlib中什么是后端

热门文章

  1. 006-多线程-JUC线程池-并发测试程序
  2. QDateTime获取当前时间的时间戳
  3. Dart中排除空的情况:
  4. word xml 各个标签含义
  5. ABAP语法篇2 内表操作语法
  6. Flink 实现指定时长或消息条数的触发器
  7. SERVER_ADDR
  8. 超文本css样式换行
  9. 【Axure8】利用中继器(Repeater)实现表格数据的增删改
  10. 【计算机视觉】SeetaFace Engine开源C++人脸识别引擎