I can't seem to set the runCommand options in my MSDeploySourceManifestTask. Path works fine but the others do not.
<MsDeploySourceManifest Include="r开发者_如何学编程unCommand">
<waitInterval>5000</waitInterval>
<Path>dir</Path>
<dontUseCommandExe>True</dontUseCommandExe>
</MsDeploySourceManifest>
Whats the deal?
You need to specifically declare the provider settings you want to add in an extra metadata item <AdditionalProviderSettings/>
(semi-colon separated). Change your item to this and it'll work fine:
<MsDeploySourceManifest Include="runCommand">
<Path>dir</Path>
<waitInterval>5000</waitInterval>
<dontUseCommandExe>True</dontUseCommandExe>
<AdditionalProviderSettings>waitInterval;dontUseCommandExe</AdditionalProviderSettings>
</MsDeploySourceManifest>
精彩评论