Project Description
Modification and enhancements to the original work done by Sreedhar Pelluru from Microsoft.

Original article: http://blogs.msdn.com/biztalkbre/archive/2007/02/16/sample-deploying-business-rules-programmatically.aspx

Most of the enhancements have been done to the code in terms of multiple policies and multiple versions of a single policy.

Policy Import Syntax Notes
/I input.xml
/I input*.xml
/I input?.xml
/I input.xml input2.xml
/I input.xml /P import and publish
/I input.xml /D import and deploy
/I input.xml /D /L:MyLog.txt import, publish, deploy, and create log
/I c:\temp\*.xml imports all files from directory
/I c:\temp\*.xml /P imports all files from directory and publish them




Vocabulary Import Syntax Notes
/M input.xml
/M input*.xml
/M input?.xml
/M input.xml input2.xml
/M input.xml /P import and publish
/M input.xml /D /L:MyLog.txt import, publish, and create log
/M c:\temp\*.xml imports all files from directory
/M c:\temp\*.xml /P imports all files from directory and publish them


Delete Syntax Notes
/R /P:* removes ALL policies (published and deployed)
/R /V:* removes ALL Vocabularies

Last edited Jul 29, 2008 at 5:05 AM by ArnulfoWing, version 10