LC.exe无法运行 [英] LC.exe could not be run
问题描述
在编译我收到错误 LC.EXE
指定的任务可执行文件LC.exe无法运行。文件名或扩展名是太长
当我编译我的单元测试项目会出现此错误。谷歌的招数我见过的,没有奏效。
This error occurs when I compile my unit test project. Of the google tricks I've seen, nothing has worked.
- 我设置为目标框架=.NET框架4没有客户端配置文件。
这今天开始。这里几乎没有在源代码控制历史什么。这些变化都与做的AssemblyInfo.cs
其中一个第三方工具增加了版本号的。
This started today. There's hardly anything in source control history. The changes all have to do with AssemblyInfo.cs
where a 3rd party utility increments our version #'s.
更新
望着我的输出窗口的命令行调用LC.EXE为巨大
CompileLicxFiles:
C:\Program文件(x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\ LC.exe /target:BuildAll.Tests.dll /complist:Properties\licenses.licx / OUTDIR:obj\Debug\ / I:C:\
CompileLicxFiles:
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\LC.exe /target:BuildAll.Tests.dll /complist:Properties\licenses.licx /outdir:obj\Debug\ /i:C:\
有100的的/ I
参数...
There's 100's of /i
params...
推荐答案
有是MS支持解决方法:
There is MS Support workaround:
在建项目,从项目中删除
牌照的文件每次你得到这个错误,只是删除许可文件
when you build the project , delete the Licence file from the project everytime you get this error , just delete the licence file
的https://connect.microsoft.com/VisualStudio/feedback/details/779433/lc-exe-task-command-line-太长
这篇关于LC.exe无法运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!