Ask general questions here.
- Posts: 2
- Joined: Mon Jan 07, 2013 4:33 pm
Hi, i'm trying to write a method that will upload step results to my QC test runs as well as uploading the report.
I keep getting the error 'Does not exists in the current context' when i am trying to assign DTdprocessing to parse DTDs. I have no idea why this is, but any advice would be extremely appreciated!!
the code that fails:
Code: Select all
XmlReaderSettings settings = new XmlReaderSettings();
settings.DtdProcessing = DtdProcessing.Parse;
- Site Admin
- Posts: 12169
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
That C# compiler error means that you are either missing a "using" statement for the namespace in which that type is in or you are missing a assembly reference to the assembly containing the type.
See the documentation of the type in order to know what to add:
http://msdn.microsoft.com/en-us/library ... 00%29.aspx