Quantcast
Channel: XML, System.Xml, MSXML and XmlLite forum
Viewing all articles
Browse latest Browse all 935

How to debug XmlDocument validation code from within Visual Studio

$
0
0
While within Visual Studio 2012 I do not get any exceptions triggered for validation errors from the XmlDocument.Validate method.  I used the example code at Microsoft's site for XmlDocument.Validate ( XmlDocument.Validate method -   https://msdn.microsoft.com/en-us/library/ms162371(v=vs.110).aspx ) and I get this behavior.  However, when I execute the compiled code from the command prompt it behaves as expected - that is, it displays appropriate validation failure messages from the exception handler.  How can I "configure" Visual Studio debugger to allow validation to work?



Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>