Click here to Skip to main content
15,896,207 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have added references to 'Reference' in solution then also its not allowing me to use these references
Posted
Comments
[no name] 28-Sep-15 6:44am    
Just clean the project solution(right click). And then restart your VS.
Atmesh 28-Sep-15 6:54am    
Thank you sir, I have created this assembly for my last project and I have to use in my recent project also but solution does not allow me to use after adding it to "Reference"
[no name] 28-Sep-15 6:59am    
Go to csproj/sln file and open it in notepad. Then delete references tags. And save it. Then restart your visual studio.
Atmesh 28-Sep-15 7:27am    
Please clear me one thing that can I use same Assembly in Windows + Web Application
[no name] 28-Sep-15 7:32am    
Yes, you can use the same assembly in both Windows and Web.

Check you have added the appropriate Imports[^] statement to each source code file that needs to use the Referenced assembly
 
Share this answer
 
Comments
Atmesh 28-Sep-15 6:56am    
I have added them like this

Imports CP_sqlClasses
Imports CP_sqlClasses.SqlFunctions
clean your solution & rebuild it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900