简体   繁体   English

将 .net 代码添加到 asp webforms 网站,无法在 .dll 文件中引用命名空间

[英]adding .net code to a asp webforms website, can't reference namespaces in .dll file

I have some problem with my first task .我的第一个任务有问题。 i made a asp.net web form app i add some dll libraries in my "webform1.aspx.cs" file but after some time these are showing partially hide.我制作了一个 asp.net 网络表单应用程序,我在“webform1.aspx.cs”文件中添加了一些 dll 库,但一段时间后这些库显示部分隐藏。

thank you for your help!感谢您的帮助!

======================CLARIFICATION==================== ======================澄清====================

when i put my cursor on these libraries it show that this using directives are not necessary .当我将光标放在这些库上时,它表明不需要使用指令。 when i view solution and want fix it .当我查看解决方案并想要修复它时。 this ll remove my directives from the top.这将从顶部删除我的指令。 but i want these directives remain same and active.但我希望这些指令保持不变和活跃。 kindly help me请帮助我

评论 :- 当您在项目中包含不需要的 dll 库时,它会像隐藏一样显示淡入淡出,因为没有必要,如果您有这些 dll 的工作,那么它将显示为活动状态。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 不能将Hangfire与ASP.NET webforms网站一起使用 - can't use Hangfire with ASP.NET webforms Website asp.net网站项目无法从dll中提取名称空间 - asp.net website project not able to pickup namespaces from dll 可视化测试 ASP.NET WebForms 网站中的异常代码路径 - Visually testing unusual code paths in ASP.NET WebForms Website Juice UI asp.net Webforms通过后面的代码添加 - Juice UI asp.net webforms adding via code behind 如何给ASP这样的权限。 NET网站是否可以从作为对项目引用的DLL中打开SQLConnection? - How to give permissions so ASP. NET website can open SQLConnection from a DLL added as a reference to the a project? 是否可以在另一个解决方案中从 ASP.NET Webforms 项目中引用 ASP.NET Core 2.0 类库 dll? - Possible to reference an ASP.NET Core 2.0 class library dll from an ASP.NET Webforms project in another solution? 无法在ASP.NET Webforms中运行任务异步 - Can't run task async in ASP.NET Webforms 为什么我不能在asp.net webforms中这样做? - Why can't I do this in asp.net webforms? asp.net webforms + jquery =无法按下按钮 - asp.net webforms + jquery = can't get button press 无法让切换开关在 Asp.Net Webforms 中工作 - Can't get Toggle Switches to work in Asp.Net Webforms
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM