为什么不添加参考 [英] why its not adding the reference

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

问题描述

步骤1:首先,我们必须下载iTextShaprp pdf库.您可以从这里下载
步骤2:下载文件后,通过右键单击解决方案资源管理器将iTextSharp.dll的引用添加到您的项目中.
步骤3:现在将命名空间添加到您的.cs或.vb

我正在按照上述声明在网络上创建pdf.

iTextSharp.dll不在.net选项卡或com中.我必须从网上下载它.当我尝试将其添加为参考时,它没有执行此操作.为什么?

Step 1: First of all we have to download the iTextShaprp pdf library. you can download that from here
Step2 : After downloading file add the reference of iTextSharp.dll to your project by right clicking on solution explorer.
Step 3 : Now add the Namespace to your .cs or .vb

I''m following the above statements to creat a pdf on web.

iTextSharp.dll is not in the .net tab or com already. I had to download it from online. when i try to add it as a reference its not doing it. why?

推荐答案

您必须使用浏览选项卡浏览到放置DLL的位置.

我通常在我的项目中创建一个名为其他程序集"的文件夹,并将itextsharp.dll之类的内容放入该文件夹中.然后,我可以更轻松地浏览到它.
You have to use the browse tab to browse to wherever you put the DLL.

I usually create a folder in my project called "Other Assemblies", and put things like the itextsharp.dll in that folder. Then I can more easily browse to it.


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

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