Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > problem adding a reference

Reply
Thread Tools

problem adding a reference

 
 
Nikhil Patel
Guest
Posts: n/a
 
      09-23-2004
Hi all,
I am having a problem adding a reference in an ASP.Net project.

I have written a custom control using a Web Control Library project. I
compiled this project and generated a dll.

Now when I try to add a reference to this dll in an ASP.Net application,
Visual Studio displays a message -
In order to add this reference, the directory "C:\MyControl\bin\Debug\" will
be added to the project's ReferencePath property. This will change where the
following references are found: Infragistics.WebUI.UltraWebToolbar.V2.1. Do
you want to continue and add the reference?

If I click Cancel, the reference to my dll is not added. and if I click OK,
the reference is added but when I execute the application I get the
following error -
The type or namespace name 'MyControl' does not exist in the class or
namespace 'MyControl'(are you missing an assembly reference?)

What should I do?
Please help!
Thanks.
-Nikhil


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem adding a reference via Register directive leeanne ASP .Net 0 02-10-2009 09:45 PM
Problem adding a reference to a web service. VGE ASP .Net Web Services 5 02-27-2008 12:48 AM
Problem adding a wcf web reference cowznofsky ASP .Net 0 06-22-2007 01:24 PM
Adding a reference to a static library in VS.NET Lady_A ASP .Net 0 10-19-2005 08:34 PM
problem while adding web reference Ravi ASP .Net Web Services 5 02-05-2005 03:03 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57