从vs 2005升级到vs 2008,出现Could not transform licenses file into a binary resource.错误,怎么办?

本文解决在使用MSDN时遇到的licx文件转换为二进制资源失败的问题,通过步骤操作,成功修复并理解错误原因。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

MSDN说:

The licenses processor used to transform .licx files into binary resources failed for some reason.

This error is typically caused by a bad .licx file. For example, the file may have been opened and modified in a text editor.

The build process will fail if this error occurs.

To correct this error
1. Select the project in Solution Explorer.

2. From the Project menu, click Show All Files.

3. In the Solution Explorer, expand the obj folder, and then expand the Debug folder.

4. Locate the file named "myApplication.exe.licenses" where myApplication is the name of your Windows Forms application.

Delete this file and rebuild the solution.

按照上面说的做了,并没有看见myApplication.exe.licenses啊,于是,我把找到的licenses.licx删除了,编译后再运行,就OK了!

但是,我还是没有弄明白是什么原因。

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值