zoukankan      html  css  js  c++  java
  • Failed to execute command: ""C:Program Files (x86)Microsoft SDKsWindowsv7.0ABinResGen.exe" 的一个解决办法

    最近在做wpf项目,期间下了一些源码参考,但是在build时经常遇到下面这种bug:

    Error 2 Failed to execute command: ""C:Program Files (x86)Microsoft SDKsWindowsv7.0ABinResGen.exe" /useSourcePath
    /r:C:WindowsMicrosoft.NETFrameworkv2.0.50727mscorlib.dll "/r:C:Program Files (x86)Reference AssembliesMicrosoftFramework
    v3.0PresentationCore.dll" "/r:C:Program Files (x86)Reference AssembliesMicrosoftFrameworkv3.0PresentationFramework.dll"
    "/r:C:Program Files (x86)Reference AssembliesMicrosoftFrameworkv3.5System.Core.dll" "/r:C:Program Files (x86)Reference
    AssembliesMicrosoftFrameworkv3.5System.Data.DataSetExtensions.dll" /r:C:WindowsMicrosoft.NETFramework
    v2.0.50727System.Data.dll /r:C:WindowsMicrosoft.NETFrameworkv2.0.50727System.dll /r:C:WindowsMicrosoft.NETFramework
    v2.0.50727System.Xml.dll "/r:C:Program Files (x86)Reference AssembliesMicrosoftFrameworkv3.5System.Xml.Linq.dll" "/r:C:
    Program Files (x86)Reference AssembliesMicrosoftFrameworkv3.0WindowsBase.dll" /compile PropertiesResources.resx,obj
    Release otateButton.Properties.Resources.resources". D:DocumentsVisual Studio 2010Projects tCtrlLibs otateButtonTRACKER
    rotateButton

    百度发现ms是因为“在64位的Windows 7下,用VS2010编译4.0以前的.Net项目会有问题”

    下面是一种解决办法。本人试了下,没有成功....

    gisoracle http://www.cnblogs.com/gisoracle/archive/2012/06/11/2544552.html

    后来无意中在一个地方看到说:删除Properties文件夹下的Resources.resx这个文件就可以了。

    本人试了下,竟然能用了....

    有遇到同样问题的可以试试这个解决办法。

    本人菜鸟一只,大神路过请轻喷。

  • 相关阅读:
    SPOJ 149 FSHEEP Fencing in the Sheep ( 计算几何 + 二分 )
    UVa 11806
    UVa 1445
    HDU 4725 The Shortest Path in Nya Graph( 建图 + 最短路 )
    HDU 4661 Message Passing ( 树DP + 推公式 )
    从远程库克隆库
    添加远程库
    远程仓库
    删除文件
    撤销修改
  • 原文地址:https://www.cnblogs.com/yzzw006/p/3473518.html
Copyright © 2011-2022 走看看