Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a strange problem. Two controls, viz., Text Box and dropdown list do exist in the application. IntelliSense detects it. But when I compile it gives error that these two controls do not exist in the current context. But the programs run correctly and values get updated. Can any one help me to avoid this error during compilation?

Thanks in advance
Raj
Posted
Comments
Sampath Lokuge 16-Feb-14 2:21am    
Clean your solution and try after that.
Member 10599847 20-Feb-14 0:30am    
Thanks Sampath. I can't find 'clean' option in Visual Studio 2008. A simple rebuild does not solve the problem. Rebuild still fails. But as I said, program runs correctly. Kindly advise]

1 solution

Try to clean the solution, and then build/rebuild the solution.

-KR
 
Share this answer
 
Comments
Member 10599847 16-Feb-14 3:17am    
Thanks Guys,

I can't find 'clean' option in Visual Studio 2008. A rebuild does not solve the problem. Rebuild still fails.

Thanks
Raj

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