Last post Oct 21, 2009 09:15 PM by aneasytorememberid
Oct 20, 2009 09:26 PM|aneasytorememberid|LINK
I am trying to use Pdf4net in my application. I added the dll to the bin directory of my project.
I created a simple file as follows:
Partial Public Class PrintReport
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
I am getting the following warning:
Warning 1 Namespace or type specified in the Imports 'O2S.Components.PDF4NET' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element
name doesn't use any aliases. C:\Documents and Settings\Priyanka\My Documents\Visual Studio 2008\Projects\IphoneWineApp\IphoneWineApp\PrintReport.aspx.vb 4 9 IphoneWineApp
How do I solve this problem?
Oct 21, 2009 12:01 AM|Abdulla.AbdelHaq|LINK
Well, I have never used Pdf4net, but from the error description I can tell you that, it seems that you are not referencing the os.component.dbf4 dll in your webapplication.
this error displays when you imports/using a namespace that's not exsiting in your application reference, just like when you creae a class library project, import System.Web namespace, the same error will be appeard.
Oct 21, 2009 09:15 PM|aneasytorememberid|LINK
to solve it