Added the option "throwError" to GetXmlFromAssembly.