Designer View Over XML Editor

This Sample demonstrates how to create an extension with a WPF-based Visual Designer for editing XML files with a specific schema (XSD) in coordination with the Visual Studio XML Editor

 
 
 
 
 
4.8 Star
(4)
8,256 times
Add to favorites
3/1/2011
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • 555-555-0199@example.com
    1 Posts | Last post October 12, 2017
    • 555-555-0199@example.com
  • Cannot open solution in VS2010.
    1 Posts | Last post February 17, 2015
    • Download and unzip but failed to open solution in VS2010.
      Error: 
      VsTemplateDesigner.csproj cannot be opened.  The project type is not supported by this installation.
      
      Is anything missing here. How can I bring the project up and running?
      
  • Visual Studio 2012 Version?
    2 Posts | Last post June 24, 2013
    • Will you be making a version that will work in 2012? I compiled it but it fails in EditorPane.cs (line 146) when it call GetService(), because it returns null. I assume it's a VS 2012 issue, but not sure. Any help is much appreciated.
      
      
      
      Thanks!
    • GetService() is likely returning the 2012 version but the typecast is failing.  Change the reference to Microsoft.VisualStudio.XmlEditor (from the 2010 version to the 2012 version).  You should be able to find it in the GAC.  The path on my machine is %WINDIR%\Microsoft.NET\assembly\GAC_MSIL\Microsoft.VisualStudio.XmlEditor\v4.0_11.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.XmlEditor.dll
  • Visual Studio 2012 Version?
    1 Posts | Last post November 06, 2012
    • Will you be making a version that will work in 2012? I compiled it but it fails in EditorPane.cs (line 146) when it call GetService(), because it returns null. I assume it's a VS 2012 issue, but not sure. Any help is much appreciated.
      
      Thanks!
  • The usage of method NotifyDocChanged() in EditorPane.cs
    1 Posts | Last post July 17, 2012
    • Counld anyone tell me that when & where the method with the name NotifyDocChanged() in EditorPane.cs is called.
  • XmlLanguageService.ParseSource Exception
    1 Posts | Last post September 26, 2011
    • I tried to do exact same thing, however there seems issue with Unicode or XAML. I have created exact same sample, but I get error in XmlLanguageService that in ParseSource method, ArguementOutOfRangeException is thrown. This happens in line scope.Complete() where XmlEditingScope is completed while saving the model and updating the backend buffer. Any help will be appriciated. This happens either on XAML or XAML with Unicode, but I have not been able differentiate between them as it happens randomly.
  • Как уведомить оболчку об изменении?
    2 Posts | Last post July 15, 2011
    • Как производится уведомление оболчки о том что имеются изменения?(Появляется звёздочка в загаловке панели, после сохранения исчезает).
      У меня не создается сервис IVsQueryEditQuerySave2.
    • Разобрался. Работу с файлом нужно проводить через интерфейс IVsTextLines.