Click to See Complete Forum and Search --> : MSXML deployed with .NET


cilu
November 23rd, 2010, 01:54 AM
Which version of MSXML is deployed with .NET 3.5? Is it MSXML 4 or 6? Because I read contradictory things.

Thank you.

TechGnome
November 23rd, 2010, 07:46 AM
Neither: http://support.microsoft.com/kb/815112

.NET uses it's own xml parser. It can be found in the System.XML namespace.

-tg

cilu
November 23rd, 2010, 08:33 AM
Yes. And I don't plan to use it in .NET. It's used from VC++. But my app installs .NET 3.5 SP1 as a pre-requisite, so my question is whether I have to add MSXML as a pre-requisite, or if .NET deploys it, that is actually not necessary.

TechGnome
November 23rd, 2010, 11:59 AM
Well, if .NET doesn't use it, it stands to reason that it wouldn't be installed as part of the FW3.5 bits. Therefore it would seem that the answer is "yes, you will need to include it as part of your install yourself."

-tg

cilu
November 25th, 2010, 02:02 AM
Well, not exactly. BTW, looks like I found an answer, at least for .NET 3.0: http://support.microsoft.com/kb/269238. It's MSXML version 6.0. Check the table "MSXML versions that are included with other Microsoft products".

TechGnome
November 25th, 2010, 10:48 AM
huh.... learn something new everyday.

-tg

cilu
November 26th, 2010, 02:43 AM
I guess the answer lies here: http://blogs.msdn.com/b/astebner/archive/2008/07/13/8729636.aspx.

MSXML 6.0

.NET Framework 3.5 setup only attempts to install this component on Windows XP and Windows Server 2003. To determine installation state, it checks the version of the following file:

%windir%\system32\msxml6.dll >= 6.0.3888.0

Setup will install this package if the necessary version is not found on the system.