Skip to content

Script Integration

David Grochocki edited this page Oct 27, 2016 · 21 revisions

The power of XAML Styler is also wrapped in a small executable that can be integrated into build scripts, git commit templates, and more. Xstyler.exe is built on top of the same styling engine that powers the Visual Studio plugin, and can be configured by specifying an external configuration.

NuGet version

####Examples####

  • PowerShell - Running xstyler.exe from Windows PowerShell.
  • Command Prompt - Running xstyler.exe from Windows Command Prompt.
  • Git Bash - Running xstyler.exe from Git Bash.
  • Git Hook - Integrate with your commit process to ensure XAML files are formatted before getting checked in.

Have a useful recipe? Let us know, and we will add it to the Wiki for others to use in their projects.