As SA mentioned, the problem doesn't come from your code (or solution) since it works fine on a different machine.
I would suggest the followings:
- Clean your solution completely: delete all temporay files and *.ncb files (intellisense files)
- If this doesn't solve the problem, re-install your IDE.
- If this still doesn't solve the problem, the problem most likely comes from your machine and SA is right: we can't do anything...
raistu wrote:By deleting intellisense files fixed that issue
Theses file are generated automatically by the IDE. Deleting them is not a problem since they are used only to help coding faster. If you really have too many problems with intellisence, you can disable it: