tags:

views:

57

answers:

4

Intellisense is not working correctly for new user Controls. Any class in the same namespace as my new class is not visible in intellisense. It compiles without any problem. I'm using VS 2008.

A: 

Can you restart your VS 2008 and see whether the problem goes away?

Ngu Soon Hui
A: 

Close visual studio, delete the ncb file, then open it again

bobobobo
A: 

I solved the problem. I was trying to use another userControl inside my userControl and didn't register it. Since both userControls were in same namespace, it was compiling correctly.

Dhawal
A: 

Excuse me if this is misguided, but, I'm having the same issue, and it's not being resolved by deleting the .ncb or forcing VS to regenerate the IntelliSense file in any manner. My code compiles and executes correctly.

Brett
I solved the problem. I was trying to use another userControl inside my userControl and didn't register it. Since both userControls were in same namespace, it was compiling correctly.
Dhawal

related questions