加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

asp.net – 无法将许可证文件转换为二进制资源

发布时间:2020-12-16 06:50:14 所属栏目:asp.Net 来源:网络整理
导读:我有我的旧Web Applicatoin,在.Net Framework 2.0中开发.现在我想在VS2012中打开它,它给我以下错误.. Could not transform licenses file into a binary resource. (1) : error LC0004 :Exception occurred creating type 'Infragistics.WebUI.WebDataInput.
我有我的旧Web Applicatoin,在.Net Framework 2.0中开发.现在我想在VS2012中打开它,它给我以下错误..

Could not transform licenses file into a binary resource.  (1) : error LC0004 :
Exception occurred creating type 'Infragistics.WebUI.WebDataInput.WebDateTimeEdit,Infragistics.WebUI.WebDataInput.v5.1,Version=5.1.20051.37,Culture=neutral,PublicKeyToken=7dd5c3163f2cd0cb System.ComponentModel.LicenseException: 
Unable to locate license assembly.at System.ComponentModel.LicenseManager.CreateWithContext(Type type,LicenseContext creationContext,Object[] args)
at System.Tools.LicenseCompiler.GenerateLicenses(String fileContents,String targetPE,ITypeResolutionService resolver,DesigntimeLicenseContext ctx)'

解决方法

下午好,

当我们已经分支了一个解决方案(svn)以便在需要时用于补丁生产时,这种情况就发生了.当我从分支机构构建解决方案时,它给了我一个类似的错误,谈论基于索引(零)等等等等等等.事实证明我的.licx文件上有一个空行,导致错误.删除空行可解决问题.

只是发布以防万一这有助于其他人.

问候,

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读