-
Mar 26th, 2018, 01:09 PM
#1
Thread Starter
New Member
The strange case of the missing XmlTextWriter
Well this is strange, VS 2017 c#
Added using System.xml and then proceeded to try and declare a new XmlTextWriter.
It simply ain't there Kids, someone stole it, MS changed it somehow, I'm confused.
Tried the References -> add references -> system.xml and same result.
Anyone else struck this issue.
-
Mar 26th, 2018, 01:24 PM
#2
Re: The strange case of the missing XmlTextWriter
Well according to the documentation (https://docs.microsoft.com/en-us/dot...ramework-4.7.1) they recommend that
Starting with the .NET Framework 2.0, we recommend that you use the XmlWriter class instead.
-tg
-
Mar 26th, 2018, 09:31 PM
#3
Re: The strange case of the missing XmlTextWriter
The documentation does indicate that the XmlTextWriter class should still be available, even in .NET 4.7.1, but I can't even see it in the Object Explorer. Of course, anything that they have been recommending not be used ever since .NET 2.0, which is over a decade old, should not be being added to new code and only supported in existing code that was written all those years ago.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|