mbrimble / biztalkdocumenter

Microsoft Public License
13 stars 9 forks source link

BizTalk Documenter - Execute documenter silently from command line #8

Open Dijkgraaf opened 7 years ago

Dijkgraaf commented 7 years ago

Copied from https://biztalk2013documenter.codeplex.com/workitem/2010

DanielSepp Aug 12, 2016 at 8:59 AM

I'm working to integrate the BizTalk Documenter into my automated build-deploy process, so I need to run the documenter from the command line and suppress the automatic display of the generated documentation. Everything is working except the /show flag on the command line doesn't appear to be having any impact on whether or not the generated documentation is automatically opened in a new window. Am I missing something?

Here is the line from my MSBuild which calls the documenter: <Exec Command=""C:\Program Files (x86)\Microsoft Services\BizTalk Documenter 2006 to 2010\Microsoft.Services.Tools.BiztalkDocumenter.exe" /o:"$(DefaultInstallDir)" /a:$(ProjectName) /def /t:$(ProjectName)_$([System.DateTime]::Now.ToString('yyyyMMdd'))_DOCUMENTATION /show:False" />

I've tried values of "False" and "false", as well as 0 and 1...I've moved the parameter to different positions in the command line execution...I've toggled the allow_cmdline_overrides property in the config file between true and false...nothing makes any difference.

I've run similar commands manually in a command window with the same results.

Thanks!