Search code examples
xmlvb.netvisual-studio-2012visual-studio-addins

How to view an XML document in the Visual Studio browser


I have an XML file that I want to view in Visual Studio 2012. I am using VB.Net, and when I tried opening it with FileOpen() like I would any other file, it opened in the raw XML with all of the tags. I want it to open as if I just opened it with my default browser.

Thanks.


Solution

  • With some more more Googling I was able to find what I was looking for.

    http://www.mztools.com/articles/2008/MZ2008012.aspx

    The code in the Initialize() method was what I wanted.