problem adding a reference

N

Nikhil Patel

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top