Skip to content

Instantly share code, notes, and snippets.

@hach-que
Last active November 12, 2015 06:37
Show Gist options
  • Save hach-que/d760d6f07d8f7c67d8bf to your computer and use it in GitHub Desktop.
Save hach-que/d760d6f07d8f7c67d8bf to your computer and use it in GitHub Desktop.
Example of a post-build hook in Protobuild
<?xml version="1.0" encoding="utf-8" ?>
<Project Name="Hook" Path="Hook" Type="Console" PostBuildHook="True">
<Properties>
<!-- Prevent the hook from running on these projects -->
<PostBuildHookExcludes>
<Project Name="Hook.Library" />
</PostBuildHookExcludes>
</Properties>
<References>
<Reference Include="System" />
<Reference Include="Hook.Library" />
</References>
<Files>
<Compile Include="Program.cs" />
</Files>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment