Visual Studio 2008 and XML

Visual Studio 2008 adds lots of new functions for working with XML files and one of the feature that I love is absolutely the new XML Literal support.

If you're together a VB.NET and a C# developer and you've worked with XML manipulation, you've discovered that VB.NET permits you to do something cool things like this:

You can immediately paste an XML document inside your code, without to be forced to use structures like XElement, XAttribute in order to declare an XML. The power of VB!

C# doesn't have this feature, but today by reading Lorenzo Barbieri's blog, I've discovered a nice addin that a C# developer must have: PasteXMLasXLinq.

This addin is under the Visual Studio 2008 samples (more info here) and permits you to add a context menu like this:

Wonderful... now you can have cut&paste of XML also with C#...

Thanks to Lorenzo for this tips... I was absolutely missing the nice toy!

Technorati Tag: ,

Print | posted on Thursday, December 27, 2007 10:11 PM

Comments on this post

No comments posted yet.

Your comment:

 (will show your gravatar)
 
Please add 4 and 3 and type the answer here: