Visual Studio intellisense stopped working

by Jesper Persson 12. March 2009 13:07

After installing the CAML.NET IntelliSense the intellisense stopped to work but only in XML files my normal C# code was working just fine.

What the h... the xmlns is set to Sharepoint but it does not work in any of my projects???? 

Just to be sure I started all over with a blank Solution and en empty Project, then I added a XML file

Look I can choose the right namespace

This is a start but wait no intellisense, how about that.

As it turns out VS had added all the XSD's and that did not work well, if they share the same namespaces and element declarations.

To solve the issue I selected the Schema property on the document and pressed the ... button

As you can see all the sharepoint schemas has been selected

Change it like this

And Voila intellisense is back Smile

Tags: , ,