Reputation: 1260
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
Please let me know where I went wrong.
Upvotes: 1
Views: 1890
Reputation: 1607
You should add the assembly via the "Projects" tab in the "Add Reference..." dialog.
Upvotes: 3