Xaml intellisense not working after adding custom xmlns

I am stuck in the following situation. I have WPF NET. 4.0 in VS2012 + Resharper with some xaml views and user controls. The project compiles and works very well, but there is no XAML intellisense (or any other notifications that it is a xaml file, for example, without a hint after hoovering over the declared control). And this intellisense breaks always when I include the xmlns value for the namespace declared in this project. For instance:

xmlns:conventers="clr-namespace:MyProject.Helpers.Conventers"

will break all intellisense. Removing this line will make it work again.

It applies only to the namespace inside the same project - when I refer to an external dll and use the namespace - no problem.

Does anyone know if I miss something obvious?

+5
source share
1 answer

Well, I figured it out ... It was an easy but annoying mistake. After adding ;assembly=to xmlns intellisense started working again. If someone needs it in the future

xmlns:conventers="clr-namespace:MyProject.Helpers.Conventers;assembly="

works just fine.

+13
source

All Articles