diff --git a/src/AddIns/DisplayBindings/XmlEditor/Project/Src/XmlSchemaAssociation.cs b/src/AddIns/DisplayBindings/XmlEditor/Project/Src/XmlSchemaAssociation.cs index 70853f90b3..f6da6d99ea 100644 --- a/src/AddIns/DisplayBindings/XmlEditor/Project/Src/XmlSchemaAssociation.cs +++ b/src/AddIns/DisplayBindings/XmlEditor/Project/Src/XmlSchemaAssociation.cs @@ -107,6 +107,9 @@ namespace ICSharpCode.XmlEditor case ".manifest": association = new XmlSchemaAssociation(extension, @"urn:schemas-microsoft-com:asm.v1"); break; + case ".xaml": + association = new XmlSchemaAssociation(extension, @"http://schemas.microsoft.com/winfx/avalon/2005"); + break; default: association = new XmlSchemaAssociation(extension); break; diff --git a/src/AddIns/DisplayBindings/XmlEditor/Project/XmlEditor.addin b/src/AddIns/DisplayBindings/XmlEditor/Project/XmlEditor.addin index 0fe1a4d163..b3b1c8066b 100644 --- a/src/AddIns/DisplayBindings/XmlEditor/Project/XmlEditor.addin +++ b/src/AddIns/DisplayBindings/XmlEditor/Project/XmlEditor.addin @@ -23,7 +23,7 @@ diff --git a/src/Libraries/ICSharpCode.TextEditor/Project/Resources/SyntaxModes.xml b/src/Libraries/ICSharpCode.TextEditor/Project/Resources/SyntaxModes.xml index ac49a0f2a7..27b9cde344 100644 --- a/src/Libraries/ICSharpCode.TextEditor/Project/Resources/SyntaxModes.xml +++ b/src/Libraries/ICSharpCode.TextEditor/Project/Resources/SyntaxModes.xml @@ -49,5 +49,5 @@ + extensions = ".xml;.xsl;.xslt;.xsd;.manifest;.config;.addin;.xshd;.wxs;.proj;.csproj;.vbproj;.ilproj;.booproj;.build;.xfrm;.targets;.xaml;.xpt;.xft"/> diff --git a/src/Libraries/ICSharpCode.TextEditor/Project/Resources/XML-Mode.xshd b/src/Libraries/ICSharpCode.TextEditor/Project/Resources/XML-Mode.xshd index e941345ea5..9959402dce 100644 --- a/src/Libraries/ICSharpCode.TextEditor/Project/Resources/XML-Mode.xshd +++ b/src/Libraries/ICSharpCode.TextEditor/Project/Resources/XML-Mode.xshd @@ -1,6 +1,6 @@ - +