Command Line XML Args for include / exclude

sergematsergemat Posts: 2
edited April 28, 2006 3:50AM in SQL Compare Previous Versions
The Help File for the Command Line Tools 5.0 indicates the following XML syntax for the <include> and <exclude> options:
<include>objecttype:RegularExpression</include>
For Example:
&lt;?xml version="1.0"?&gt;
&lt;commandline&gt;
  &lt;exclude&gt;Role&lt;/exclude&gt;
  &lt;exclude&gt;User&lt;/exclude&gt;
&lt;/commandline&gt;
However the tool does not accept such syntax and exists with code 34.

I finally managed to run it with the old (3.x) syntax after searching this forum for hours and guessing:
&lt;?xml version="1.0"?&gt;
&lt;commandline&gt;
  &lt;exclude objecttype="Role"/&gt;
  &lt;exclude objecttype="User"/&gt;
&lt;/commandline&gt;
I think the tools and the help have to be in sync!

Comments

This discussion has been closed.