您的位置:首页 > 其它

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

2010-04-21 08:12 429 查看
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了!

但是,我还是没有弄明白是什么原因。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐