Intellisense not working for XAML in VS2012 and only partially in Blend

intellisensevisual studio 2012xaml

I'm trying to get RC of Visual Studio 2012 working for XAML files. I can't seem to get any XAML Intellisense and the option within Tools is greyed out.

I've also tried to run the solution using Blend, however I only get Intellisense for custom controls such as telerik then.

Partial Intellisense in Blend

When ever I drag controls onto the design surface I get an "Object reference not set to an instance of an object" exception but the control is still added to the surface.

I've read that this was a bug within VS11 and was fixed with in the Visual Studio 2012 RC.

I've created a new Silverlight Application and the intellisense is working so i'm wondering if its an issue with how my projects are set up.

I have all of my Styles within a separate themes project, which is referenced by other all other projects. Within the designer these references show up as errors but when the application runs they are resolved fine.

Would unresolved resources at design time affect Intellisense?

Best Answer

Click "Build -> Clean Solution", then "Build -> Build Solution". ("Rebuild Solution" alone doesn't work.) [Source]