I don't have XAML intellisense in Visual Studio 2012

For some reason, lately I don't have intellisense in my XAML code for Visual Studio 2012. Is this a bug or a function. Does anyone else have this problem?

+4
source share
3 answers

I had the same problem, not intellisense for xaml, and installing "Visual Studio 2012 update 2" fixed it for me: Visual Studio 2012 Update 2

+4
source

I had the same problem. And when I went to the msdn website, I was able to download and install β€œupdate 4” for visual studio 2012, and it fixed the problem directly.

By the way, before installing, I had this version of Visual studio 2012:

VS 2012 11.0.50727.1 RTMREL

This page gave me a hint that my version of VS2012 might be causing my problems. https://bugzilla.xamarin.com/show_bug.cgi?id=7239

+2
source

I think I figured it out. I used the Magellan Framework, which tried to register the controls in the view namespace URI. They did it so that you had to use the XML prefix on this control. This causes a problem with the Visual Studio 2012 XAML editor.

[assembly: XmlnsDefinition("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Magellan")] [assembly: XmlnsDefinition("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Magellan.Abstractions")] [assembly: XmlnsDefinition("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Magellan.Controls")] [assembly: XmlnsDefinition("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Magellan.Views")] 

I removed this from the Properties\AssemblyInfo.cs Magellan file and it seems to have worked. I will check this answer if the problem does not occur.

0
source

All Articles