## [错误] welderdbwebapp \ properties \ licenses.licx(1,0):错误lc0003:无法解决类型' telerik.web.ui.radlistbox,telerik.web.ui,版本= 2015

发布于 2025-02-03 05:47:11 字数 553 浏览 2 评论 0 原文

我正在使用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文件

I am using Azure DevOps to build my project, and I am facing an error which states..

##[error]WelderDBWebApp\Properties\licenses.licx(1,0): Error LC0003: Unable to resolve type 'Telerik.Web.UI.RadListBox, Telerik.Web.UI,
Version=2015.2.729.40, Culture=neutral,
PublicKeyToken=121fae78165ba3d4'

My asp.net framework application is working fine locally, but in Azure DevOps shows above message ..

I have deleted .licx file, but after which a new error shows up which is ..

##[error]WelderDBWebApp\NDTRecon\NDTWorksManagement.aspx.cs(9,7): Error CS0246: The type or namespace name 'Telerik' could not be found
(are you missing a using directive or an assembly reference?)

Note:- I have created a service connection and NuGet.config file. Even updated Web.config file

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

从来不烧饼 2025-02-10 05:47:11

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文