Skip to content

Instantly share code, notes, and snippets.

@scottaddie
Last active October 1, 2016 02:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottaddie/c238898623448a418f04afffe0f98744 to your computer and use it in GitHub Desktop.
Save scottaddie/c238898623448a418f04afffe0f98744 to your computer and use it in GitHub Desktop.
<Target Name="BeforeBuild">
<Exec Command="CodeFormatter $(MSBuildProjectFile) /rule+:BraceNewLine,UsingLocation,FormatDocument,NewLineAbove /rule-:Copyright,CustomCopyright,UnicodeLiterals,ExplicitVisibility,IllegalHeaders,ExplicitThis,ReadonlyFields,FieldNames /verbose"
ContinueOnError="false" />
</Target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment