Test Signing and Instrumentation

Boy, I seem to spend all my time in the deep dark recesses of the CLR. OK, this post is a little bit out there; I hope someone finds it useful. There’s a problem with doing instrumented profiling of applications in Visual Studio 2005 Team System that comes up when working with strongly named assemblies….


Refactoring XmlValidatingReader in .NET 2.0

I seem to have come across this several times in the past week or two, so it’s worth making a note.  In .NET 2.0 XmlValidatingReader is obsolete.  You need to do something like the following in order to create a validating reader now: XmlReaderSettings settings = new XmlReaderSettings(); settings.ValidationType = ValidationType.Schema; XmlReader reader = XmlReader.Create(new…