Skip to content

Instantly share code, notes, and snippets.

@tetrashine
Created May 7, 2021 19:39
Show Gist options
  • Save tetrashine/505559fc22f0538b86b448b882254a87 to your computer and use it in GitHub Desktop.
Save tetrashine/505559fc22f0538b86b448b882254a87 to your computer and use it in GitHub Desktop.
Web Publishing Profile xml - runCommand
<Target Name="executeEncryptionInHost" AfterTargets="AddIisSettingAndFileContentsToSourceManifest">
<Message Text="Executing encryption batch script" />
<ItemGroup>
<MsDeploySourceManifest Include="runCommand">
<path>E:\scripts\run_encrypt.bat</path>
</MsDeploySourceManifest>
</ItemGroup>
</Target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment