Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I edit work items in the Visual Studio 2008 xml editor?

I'm trying to customize some TFS work items via the VS2008 xml editor, but every time I open a work item xml file it jumps to the graphical designer. All that gives me is a "View XML" button that doesn't let you edit the xml directly.

like image 627
Luke Avatar asked Aug 08 '08 17:08

Luke


People also ask

How do you edit the contents of XML?

XML files can also be edited using your computer's notepad program and even with certain word processing and spreadsheet programs. However, XML editors are considered advantageous because they are able to validate your code and ensure you remain within a valid XML structure.

Can Visual Studio edit XML?

The XML editor in Visual Studio is based on the text editor and includes additional support for the XML languages. When you open an XML file in Visual Studio, it opens in the XML editor. The XML editor includes the following features: XML 1.0 syntax checking.

How do I open and edit an XML file?

XML files can be opened in a browser like IE or Chrome, with any text editor like Notepad or MS-Word. Even Excel can be used to open XML files. We also have Online editors to open XML files.

How do you make an XML file editable?

Create an empty project for XML files Select Create. Add XML files to the project. The XML editor finds the schemas you add to this project and uses them for validation and IntelliSense in any XML, schema, or XSLT files that you edit while this project is open.


2 Answers

I don't have TFS but I know in regular VS there is an Open With... option in most items' contextual menu that even let you change the default editor. Very useful when you are tired of the Designer opening instead of the Code file on Windows forms.

like image 97
Coincoin Avatar answered Oct 20 '22 12:10

Coincoin


Ah, looks like you have to go to File->Open and click the down arrow next to the Open button to "Open With" the xml editor. If someone wants to copy and paste this, free accepted answer :P

like image 1
Luke Avatar answered Oct 20 '22 13:10

Luke