我似乎无法在我的MSDeploySourceManifestTask中设置runCommand选项。Path运行得很好,但其他的就不行了。
<MsDeploySourceManifest Include="runCommand">
<waitInterval>5000</waitInterval>
<Path>dir</Path>
<dontUseCommandExe>True</dontUseCommandExe>
</MsDeploySourceManifest>这是怎么回事?
发布于 2011-08-02 00:26:18
您需要在额外的元数据项<AdditionalProviderSettings/> (以分号分隔)中明确声明要添加的提供程序设置。将您的项目更改为以下内容,它将正常工作:
<MsDeploySourceManifest Include="runCommand">
<Path>dir</Path>
<waitInterval>5000</waitInterval>
<dontUseCommandExe>True</dontUseCommandExe>
<AdditionalProviderSettings>waitInterval;dontUseCommandExe</AdditionalProviderSettings>
</MsDeploySourceManifest>https://stackoverflow.com/questions/6899634
复制相似问题