如何修复Visual Studio中的生成错误:“"LC.exe"以代码-1'退出 [英] How to fix build error in Visual Studio: '"LC.exe" exited with code -1'

查看:131
本文介绍了如何修复Visual Studio中的生成错误:“"LC.exe"以代码-1'退出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

构建Windows窗体解决方案时出现以下错误:

I get the following error when building my Windows Forms solution:

"LC.exe"以代码-1退出

"LC.exe" exited with code -1

我使用两个商业Windows窗体库:Infragistics和来自plexityhide.com的Gantt-Control,这就是为什么我的WinForms项目中具有licenses.licx文件的原因.我们还将Visual Sourcesafe用作我们的源代码控制.

I use two commercial Windows Forms Libraries: Infragistics and the Gantt-Control from plexityhide.com, that's why I have licenses.licx files in my WinForms Projects. We also use Visual Sourcesafe as our Source Control.

当licenses.licx文件位于项目中时,如果没有上述错误,我将无法构建.但是,当我将它们从我的项目中排除时,构建工作正常.但是,当我想在设计器中使用商业控件时,我需要使用licenses.licx文件.

When the licenses.licx files are in the Projects I cannot build without the above error. However, when I exclude them from my projects the build works fine. But I need the licenses.licx files when I want to work with the commercial controls in the designer.

这是一台带有Windows XP SP3(德语)和Visual Studio 2005 Team Edition的带有SP1的软件开发人员(德语)的全新开发人员计算机.

This is a brand new developer machine with Windows XP SP3 (German) and Visual Studio 2005 Team Edition for Software Developers (German) with SP1.

顺便说一下,它是Windows XP 32位.

It's Windows XP 32-Bit by the way.

有什么建议吗?

推荐答案

我重新安装了Infragistics,而且似乎已经解决了该问题.

I reinstalled Infragistics and that seems to have fixed it.

这篇关于如何修复Visual Studio中的生成错误:“"LC.exe"以代码-1'退出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆