DevWinUI.SourceGenerator
Install
1 | Install-Package DevWinUI.SourceGenerator |
Example
For generating BreadcrumbPageMappings you need to define <AdditionalFiles Include="**\*.xaml" />, for NavigationPageMappings you need to define <AdditionalFiles Include="Assets\NavViewMenu\AppData.json" /> and for StringsPropertyGenerator you need to define <AdditionalFiles Include="Strings\en-US\Resources.resw" />
1 | <ItemGroup> |
you can define namespace for each file in csproj and PropertyGroup section:
1 | <StringsNamespace>myStringsNamespace</StringsNamespace> |
Demo
See the Gallery app to see how to use it
Documentation
See Here for Online Documentation
