## [错误] welderdbwebapp \ properties \ licenses.licx(1,0):错误lc0003:无法解决类型' telerik.web.ui.radlistbox,telerik.web.ui,版本= 2015
我正在使用Azure DevOps来构建我的项目,并且我面临的错误指出。
## [错误] welderdbwebapp \ properties \ licenses.licx(1,0):错误lc0003:无法解析类型'telerik.web.ui.radlistbox,telerik.web.ui, 版本= 2015.2.729.40,文化=中性, publicKeyToken = 121fae78165ba3d4'
我的ASP.NET框架应用程序在本地工作正常,但是在上面的Azure DevOps中显示了上述消息。.
我已删除.LICX文件,但此后出现了一个新错误。
## [错误] welderdbwebapp \ ndtrecon \ ndtworksmanagement.aspx.cs(9,7):错误CS0246:找不到类型或名称空间名称'telerik' (您是否缺少使用指令或汇编参考?)
注意: - 我创建了一个服务连接和nuget.config文件。甚至更新的web.config文件
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
lc.exe(许可编译器)状态:
“每当将许可的控件添加到表单中时,Windows表单设计器会自动生成或更新.LICX文本文件。作为编译的一部分,项目系统将变换.licx文本文件中的.NET二进制资源,该文件提供了对.NET控制许可的支持。
同样,表明只有在您动态创建控件时才需要手动创建。
The documentation for the license compiler at Lc.exe (License Compiler) states :
"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."
Along the same lines, TX Text Control .NET Licensing Explained indicates that manual creation is only necessary when you are dynamically creating the control.