Amin Sayed
Amin Sayed

Reputation: 1260

DLL Reference pointing to Temp folder class

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

  1. by deleteing all debug (DLL files) and rebuilding the project but no luck.
  2. By deleting the reference and again creating it and re-writing the using DLL code.

Please let me know where I went wrong.

Upvotes: 1

Views: 1890

Answers (1)

Andre
Andre

Reputation: 1607

You should add the assembly via the "Projects" tab in the "Add Reference..." dialog.

Upvotes: 3

Related Questions