Hi,
I have a DLL that uses the XMLReaderSettings class say mySettings.
I want to add mySchema.xsd to mySettings.Schemas.
As far as I can make out I need an absolute path to the mySchema.xsd
file.
Being inside a DLL, the only way I could see to get this was using the
Assembly.GetAssembly().Location method.
This worked fine on the development machine but on the production
machine the call was returning the root directory.
As a kludge I put mySchema. xsd in the root directory and away we
went.
Would appreciate any thoughts on how to fix this.
thanks
Bob