How to specify the file name?

Mar 1, 2012 at 1:09 AM

Thanks for this great tool!

Actually, I want to use it as an add-on for the built-in DataSet generator MSDataSetGenerator.

I want to have both strong-typed DataSet and Entity class.

The problem is that both MSDataSetGenerator and Xsd2Code generate code to the xxx.Designer.cs file.

Anybody knows a way to specify the auto-generated file name?

Many thanks!

May 5, 2015 at 9:21 AM
Did you ever find ever a solution to this problem?
Aug 19, 2015 at 4:05 PM
It's a bigger problem than just that.

Our project standards demand a file per type (not uncommon). We use R# to do this at the solution level to reduce workload.

This renders subsequent use of Xsd2Code extremely fragile, and we had to stop using it on a daily basis.

Our evaluation is this needs a fix, well two;

1 Allow file per type as a config option.
2 Store config outside of the code file, perhaps in its own Xml settings file. I've mentioned this to Pascal before)

Adding a alternative option to allow a single fixed file name choice would help in the original question too.
Aug 19, 2015 at 4:13 PM
Update: its the /O option on the command line. for the original question.