添加对dll的引用 [英] Add reference to dll

查看:87
本文介绍了添加对dll的引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨..朋友,



我有一个asp.net项目我在右键单击bin文件夹Add Reference上添加引用,并从.net选项卡中选择System。管理并点击确定。它对我来说很好。但是当我使用webdeployment工具制作dll的源代码时。并在服务器上上传它没有获得相同的参考。



我不明白我需要额外的东西?



如果我做错了请告诉我。



提前付款

Parveen Rathi

Hi..friends,

I have an asp.net project I add the reference on right click bin folder Add Reference and from .net tab select System.Management and click on ok. It working fine for me. But when I make dll of my source code using webdeployment tool. And upload the dll on server it is not getting the same reference.

I m not understand what i have to need extra?

Please told me if m doing any thing wrong.

Thanks in Advance
Parveen Rathi

推荐答案

我已经解决了这个问题。当我们添加对网站的任何引用时,新行将自动插入到web.config中。因此,请更改服务器上的web.config文件。
I have solved the problem. When we add any reference to website, the a new line will be inserted in web.config automatically. So change your web.config file on server.


这篇关于添加对dll的引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆