lc.exe已退出

当遇到'lc.exe已退出'的license编译错误时,解决方案是删除.license.licx文件。微软官方解释此编译器用于将包含许可信息的文本文件转化为可嵌入运行时执行文件的二进制资源。在跨32位和64位编译时,由于不支持混合加载,需要手动使用命令行的License Compiler指定对应架构。该工具随Visual Studio安装,可在开发者命令提示符中运行。
摘要由CSDN通过智能技术生成

这是进行license编译抛出的错误

通过的解决方式是删除对应的license.licx 文件

以下是微软官方对lincense编译的解释

The License Compiler reads text files that contain licensing information and produces a binary file that can be embedded in a common language runtime executable as a resource.

A .licx text file is automatically generated or updated by the Windows Forms Designer whenever a licensed control is added to the form. As part of compilation, the project system will transform the .licx text file into a .licenses binary resource that provides support for .NET control licensing. The binary resource will then be embedded in the project output.

Cross compilation between 32-bit and 64-bit is not supported when you use the License Compiler when building your project. This is because the License Compiler has to load assemblies, and loading 64-bit assemblies from a 32-bit application is not allowed, and vice versa. In this case, use the License Compiler from the command line to compile the l

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值