MSBuild时的Infragistics许可证异常

Jon*_*han 21 msbuild infragistics exception

在为项目运行MSBuild脚本时,我收到以下错误:

Properties\licenses.licx(1): error LC0004: Exception occurred creating type 'Infragistics.Win.UltraWinEditors.UltraNumericEditor, Infragistics.Win.UltraWinEditors.v5.2, Version=5.2.20052.1028, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' System.ComponentModel.LicenseException: Unable to locate license assembly.
Properties\licenses.licx(2): error LC0004: Exception occurred creating type 'Infragistics.Win.Misc.UltraGridBagLayoutManager, Infragistics.Win.Misc.v5.2, Version=5.2.20052.1028, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' System.ComponentModel.LicenseException: Unable to locate license assembly.
Properties\licenses.licx(3): error LC0004: Exception occurred creating type 'Infragistics.Win.UltraWinEditors.UltraCheckEditor, Infragistics.Win.UltraWinEditors.v5.2, Version=5.2.20052.1028, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' System.ComponentModel.LicenseException: Unable to locate license assembly.
Run Code Online (Sandbox Code Playgroud)

我的机器的Infragistics许可证似乎存在问题.

我的解决方案中有有效的许可证文件,是什么导致了这个问题?

ehn*_*ark 40

有一个更简单的解决方案:将license.licx上的构建操作设置为None.

  • 它就像一个魅力,但你必须记住在客户端安装许可证.无论如何,它的作品!! 谢谢你 (2认同)

Mar*_*lin 11

来自Infragistics论坛归档中的用户评论

安装为"所有用户"的系统管理员,然后用户将开发和编译他们的应用程序.

这是一种解决方法,但不幸的是,这并不能解释根本原因.

这是Infragistics博客文章,用于处理自动构建,但我不认为这是你的情况.并进一步参考同一帖子在这里添加更多信息.

我猜你已经查看了这些链接,但它们可能对其他有类似问题的人有所帮助.