Format XAML with XAMLStyler

This commit is contained in:
Alexey Golub
2020-01-10 20:06:13 +02:00
parent 5cb6adf19e
commit 4ebc681327
5 changed files with 23 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
<Application
<Application
x:Class="DiscordChatExporter.Gui.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

View File

@@ -30,4 +30,9 @@
<ProjectReference Include="..\DiscordChatExporter.Core.Services\DiscordChatExporter.Core.Services.csproj" />
</ItemGroup>
<Target Name="Format XAML" AfterTargets="BeforeBuild">
<Exec Command="dotnet tool restore" />
<Exec Command="dotnet xstyler -r -d &quot;$(MSBuildProjectDirectory)&quot;" />
</Target>
</Project>

View File

@@ -28,8 +28,8 @@
<!-- Auto-updates -->
<DockPanel
LastChildFill="False"
Background="Transparent"
LastChildFill="False"
ToolTip="Perform automatic updates on every launch">
<TextBlock
Margin="16,8"
@@ -43,8 +43,8 @@
<!-- Persist token -->
<DockPanel
LastChildFill="False"
Background="Transparent"
LastChildFill="False"
ToolTip="Persist last used token between sessions">
<TextBlock
Margin="16,8"