Skip to content
This repository was archived by the owner on Jul 10, 2022. It is now read-only.

Repository files navigation

Deprecation notice

This project has been deprecated and superseeded by XAMLTools.

XamlColorSchemeGenerator

Build statusReleaseIssuesDownloadsNugetLicense

Generates color scheme xaml files while replacing certain parts of a template file.

For an example on how this tool works see the generator input and template files.

Using the tool

Usage with commandline parameters

XamlColorSchemeGenerator accepts the following commandline parameters:

  • -g "Path_To_Your_GeneratorParameters.json"
  • -t "Path_To_Your_Theme.Template.xaml"
  • -o "Path_To_Your_Output_Folder"
  • -v = enables verbose console output

Usage without commandline parameters

Just set the working directory to a directory containing GeneratorParameters.json and Theme.Template.xaml and call XamlColorSchemeGenerator.exe. The tool then also uses the current working dir as the output folder.

Usage during build

 <ItemGroup>
<PackageReferenceInclude="XamlColorSchemeGenerator"version="4-*"privateAssets="All"includeAssets="build" />
</ItemGroup>
<TargetName="GenerateXamlFiles"BeforeTargets="DispatchToInnerBuilds">
<!-- Generate theme files -->
<MessageText="$(XamlColorSchemeGeneratorExecutable)" />
<ExecCommand="&quot;$(XamlColorSchemeGeneratorExecutable)&quot;"WorkingDirectory="$(MSBuildProjectDirectory)/Themes/Themes" />
</Target>

About

Generates color scheme xaml files while replacing certain parts of a template file

Resources

Stars

24 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages