Is there a way to control the output filename from xsd.exe?
My specific issue is that if an imported xsd is referenced this is added to the filename.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This link suggests another alternative … using a path character in specifying the input schemas resets the generated file name. So if you use the following you will be able to control your output file name.
Will force
xsd.exeto generate theschema3.csfile.Note: It’s a hack but up to now (VS 2010) it works.