I’m having a class library which is getting referenced in a web application. This class library exists in the same solution. But when I add reference to this by "using" statement and try to use the class in my aspx page, after building the project, it refers to "C:\Documents and Settings\user1\Temp" location class file.
When I delete this class file and try to do a “Go to Definition” , it says "Cannot navigate to ConfigReader class".
I tried all the options
- by deleteing all debug (DLL files) and rebuilding the project but no luck.
- By deleting the reference and again creating it and re-writing the using DLL code.
Please let me know where I went wrong.
You should add the assembly via the “Projects” tab in the “Add Reference…” dialog.