Compile Error: System.Xml.Serialization.dll

P

Paul P

When I try to compile proxy code (in C#), why do I get the
following error:
"error CS0006: Metadata
file 'System.Xml.Serialization.dll' could not be found"??
 
P

Paul P

-----Original Message-----
When I try to compile proxy code (in C#), why do I get
the following error:
"error CS0006: Metadata
file 'System.Xml.Serialization.dll' could not be
found"??

I guess the question I should be asking is...

When I have the latest .NET Framework SDK, why don't I
have System.Xml.Serialization.dll?

....and how can I get it?

Paul
 
D

Dino Chiesa [MSFT]

In .NET Framework v1.1, the serialization classes are included in
System.Xml.dll.

Maybe you have proxy sourcecode that has been generated by an old .NET
runtime? Or maybe you just need to include -r System.XML.dll on your
csc.exe command line. The full path of the DLL is typically

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.XML.dll

-Dino
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top