Skip to content

Instantly share code, notes, and snippets.

@odugen
Created December 12, 2014 06:19
Show Gist options
  • Select an option

  • Save odugen/4c13e8618d2369e2003b to your computer and use it in GitHub Desktop.

Select an option

Save odugen/4c13e8618d2369e2003b to your computer and use it in GitHub Desktop.
MSBuild update C# project with XMLPoke
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
DefaultTargets="DisableMySignedProjectSignManifest">
<Target Name="DisableMySignedProjectSignManifest">
<XmlPoke XmlInputPath="MySignedProject.csproj"
Namespaces="&lt;Namespace Prefix='x' Uri='http://schemas.microsoft.com/developer/msbuild/2003'/&gt;"
Query="x:Project/x:PropertyGroup/x:SignManifests" Value="false" />
</Target>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment