visual-studio-2012 - 指定的任务可执行文件 "LC.exe"无法运行

标签 visual-studio-2012 sharepoint-2013 licenses.licx

我正在使用 VS 2012 开发 SharePoint 2013 解决方案,该解决方案有一个 licx 文件。我收到编译时错误和警告。

错误:无法运行指定的任务可执行文件“LC.exe”。文件名或扩展名太长

警告:“LC”任务的命令行太长。超过 32000 个字符的命令行很可能会失败。尝试通过将“LC”调用分解为多个调用来减少命令行的长度,每个调用使用较少的参数。

我试过 lc.exe.config 有 <startup useLegacyV2RuntimeActivationPolicy="true">我还尝试将解决方案移动到“C:\”,之前在 Projects 文件夹中。

我仍然无法解决此错误。

最佳答案

有 MS 支持解决方法:

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-too-long

关于visual-studio-2012 - 指定的任务可执行文件 "LC.exe"无法运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14722753/

相关文章:

Hybris 30 天许可证过期

javascript - sp.js 按内容类型获取所有列表

asp.net - App_Licenses.dll 和 licx 之间有什么关系?

visual-studio - 在 VS2012 中切换 'break on all exceptions' 的快速方法?

asp.net - <tr class ="TRSpacer"></tr> 自动从我的 aspx 文件中删除

visual-studio-2012 - 访问被拒绝在 Visual Studio 中运行程序

.net - Metro UI 中的外部库

rest - 应用不同的 RowLimit 参数时,TotalRows 属性显示不同的结果(SharePoint 2013 Search REST 和 CSOM Api)

javascript - 分享点 2013 : How can I update a Site Column with the content of an array with javascript CSOM?

c# - 如何清除/删除文件 licenses.licx