xml - DTD prohibited Exception with ManifestReader (c#) -


my application gets manifest xml , want read via manifestreader, on machines error "for security reasons dtd prohibited in xml document. enable dtd processing set dtdprocessing property on xmlreadersettings parse , pass settings xmlreader.create method", problem manifestreader doesn't take parameter , enabling via os isn't option. (i read similar topic @ here)

so need 1 of 2 following solutions (or third if it's better ^^)

  • passing parameter or it's equivalent manifestreader enable read manifest, or
  • read manifest xml via xmlreader , converting applicationmanifest object


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -