zoukankan      html  css  js  c++  java
  • Build Error: The command ****** exited with code 9009


    build某个project的时候提示了这个错误,google到这篇文章:http://support.microsoft.com/kb/908268
    提示将regasm的完整路径写在命令里,如:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\regasm.exe

    看来是VS2005不能取到.NET Framework的安装路径。
    于是将pose-build命令改为:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\regasm.exe /unregister "$(TargetPath)",build通过,不过圡了点...

    更好的做法是将.NET的安装路径"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727" 和 "D:\program files\microsoft visual studio 8\sdk\v2.0\bin"加入系统环境变量里的PATH变量里,然后重启。这样所有的utils工具就都能在post-build event里直接访问了


  • 相关阅读:
    iptables
    apt
    cvc-elt.1: Cannot find the declaration of element 'beans'.
    di
    log
    java内存模型
    spring-jms
    JTS
    10java进阶——IO2
    17单例
  • 原文地址:https://www.cnblogs.com/k330/p/1115950.html
Copyright © 2011-2022 走看看