This project has been deprecated and superseeded by XAMLTools.
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.
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
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.
<ItemGroup>
<PackageReferenceInclude="XamlColorSchemeGenerator"version="4-*"privateAssets="All"includeAssets="build" />
</ItemGroup>
<TargetName="GenerateXamlFiles"BeforeTargets="DispatchToInnerBuilds">
<!-- Generate theme files -->
<MessageText="$(XamlColorSchemeGeneratorExecutable)" />
<ExecCommand=""$(XamlColorSchemeGeneratorExecutable)""WorkingDirectory="$(MSBuildProjectDirectory)/Themes/Themes" />
</Target>