11

I'm developing a C# application that uses a handful of XML files and some classes in System.Xml. A coworker insists on adding the MSXML6 redistributable to our install, along with the .NET framework but I don't think the .NET framework uses or needs MSXML in anyway. I am well aware that using MSXML from .NET is not supported but I suppose its theoretically possible for System.Xml itself to wrap MSXML at a low level. I haven't found anything definitive that .NET has its own implementation but neither can I find anything to suggest it needs MSXML.

Help me settle the debate. Does System.Xml use MSXML?

5 Answers 5

14

System.Xml doesn't use MSXML6. They are seperate xml processing engines. See post here: MSXML 6.0 vs. System.Xml: Schema handling differences

Sign up to request clarification or add additional context in comments.

Comments

1

System.Xml is in the core framework and not dependent on MSXML 6.0, but it shares a few common API (DOM parser, SAX parser, XPath node selection).

Comments

0

There is no need for this sort of stuff to be the subject of tedious workplace debates, because the source code for the framework is available, and with a minuscule amount of work you can download the whole lot onto your machine. http://www.codeplex.com/NetMassDownloader

With another tiny bit of work, you can make a VS project which contains all the framework source, which makes it even easier to look through.

Comments

0

.Net framework uses MSXML6 for installation on WinXP SP2 and W2K3 SP2 only where MSXML6 is not in the box. System.Xml is a different product to MSXML6 though some APIs share similar signature.

Comments

-1

I think it's needed for some MsSql-XML functionality, but System.Xml is in the core framework.

You should test your installer on a fresh machine anyway, just to be sure.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.