mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2025-01-05 01:42:51 +01:00
108 lines
5.7 KiB
XML
108 lines
5.7 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<Nullable>enable</Nullable>
|
|
<AssemblyName>DiscordHistoryTracker</AssemblyName>
|
|
<RootNamespace>DHT.Desktop</RootNamespace>
|
|
<PackageId>DiscordHistoryTracker</PackageId>
|
|
<Authors>chylex</Authors>
|
|
<Company>DiscordHistoryTracker</Company>
|
|
<Product>DiscordHistoryTracker</Product>
|
|
<ApplicationIcon>./Resources/icon.ico</ApplicationIcon>
|
|
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
|
|
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
|
|
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
|
|
<GenerateAssemblyFileVersionAttribute>false</GenerateAssemblyFileVersionAttribute>
|
|
<GenerateAssemblyInformationalVersionAttribute>false</GenerateAssemblyInformationalVersionAttribute>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>none</DebugType>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="Avalonia" Version="11.0.0" />
|
|
<PackageReference Include="Avalonia.Controls.DataGrid" Version="11.0.0" />
|
|
<PackageReference Include="Avalonia.Controls.ItemsRepeater" Version="11.0.0" />
|
|
<PackageReference Include="Avalonia.Desktop" Version="11.0.0" />
|
|
<PackageReference Include="Avalonia.Diagnostics" Version="11.0.0" Condition=" '$(Configuration)' == 'Debug' " />
|
|
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.0.0" />
|
|
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.0.0" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Server\Server.csproj" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="..\Version.cs" Link="Version.cs" />
|
|
<Compile Update="App\App.axaml.cs">
|
|
<DependentUpon>App.axaml</DependentUpon>
|
|
<SubType>Code</SubType>
|
|
</Compile>
|
|
<Compile Update="App\Windows\AboutWindow.axaml.cs">
|
|
<DependentUpon>AboutWindow.axaml</DependentUpon>
|
|
<SubType>Code</SubType>
|
|
</Compile>
|
|
<Compile Update="App\Windows\MainWindow.axaml.cs">
|
|
<DependentUpon>MainWindow.axaml</DependentUpon>
|
|
<SubType>Code</SubType>
|
|
</Compile>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<AvaloniaResource Include="Resources/icon.ico" />
|
|
<EmbeddedResource Include="../Resources/Tracker/bootstrap.js">
|
|
<LogicalName>Tracker\%(RecursiveDir)%(Filename)%(Extension)</LogicalName>
|
|
<Link>Resources/Tracker/%(RecursiveDir)%(Filename)%(Extension)</Link>
|
|
<Visible>false</Visible>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Include="../Resources/Tracker/scripts/**" Condition=" '$(Configuration)' == 'Debug' ">
|
|
<LogicalName>Tracker\scripts\%(RecursiveDir)%(Filename)%(Extension)</LogicalName>
|
|
<Link>Resources/Tracker/scripts/%(RecursiveDir)%(Filename)%(Extension)</Link>
|
|
<Visible>false</Visible>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Include="../Resources/Tracker/styles/**">
|
|
<LogicalName>Tracker\styles\%(RecursiveDir)%(Filename)%(Extension)</LogicalName>
|
|
<Link>Resources/Tracker/styles/%(RecursiveDir)%(Filename)%(Extension)</Link>
|
|
<Visible>false</Visible>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Include="../Resources/Viewer/**">
|
|
<LogicalName>Viewer\%(RecursiveDir)%(Filename)%(Extension)</LogicalName>
|
|
<Link>Resources/Viewer/%(RecursiveDir)%(Filename)%(Extension)</Link>
|
|
<Visible>false</Visible>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<AdditionalFiles Include="App\Controls\ServerConfigurationPanel.axaml" />
|
|
<AdditionalFiles Include="App\Controls\StatusBar.axaml" />
|
|
<AdditionalFiles Include="App\Dialogs\CheckBox\CheckBoxDialog.axaml" />
|
|
<AdditionalFiles Include="App\Dialogs\Message\MessageDialog.axaml" />
|
|
<AdditionalFiles Include="App\Dialogs\Progress\ProgressDialog.axaml" />
|
|
<AdditionalFiles Include="App\Dialogs\TextBox\TextBoxDialog.axaml" />
|
|
<AdditionalFiles Include="App\Pages\AdvancedPage.axaml" />
|
|
<AdditionalFiles Include="App\Pages\DatabasePage.axaml" />
|
|
<AdditionalFiles Include="App\Pages\TrackingPage.axaml" />
|
|
<AdditionalFiles Include="App\Screens\MainContentScreen.axaml" />
|
|
<AdditionalFiles Include="App\Screens\WelcomeScreen.axaml" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<UpToDateCheckInput Remove="Main\Pages\AdvancedPage.axaml" />
|
|
<UpToDateCheckInput Remove="Main\Pages\DatabasePage.axaml" />
|
|
<UpToDateCheckInput Remove="Main\Pages\TrackingPage.axaml" />
|
|
<UpToDateCheckInput Remove="Main\Screens\MainContentScreen.axaml" />
|
|
<UpToDateCheckInput Remove="Main\Screens\WelcomeScreen.axaml" />
|
|
</ItemGroup>
|
|
<Target Name="MinifyResources" BeforeTargets="PrepareForBuild" Condition=" '$(Configuration)' == 'Release' ">
|
|
<PropertyGroup>
|
|
<MinifiedResourceDir>$(ProjectDir)bin/.res/scripts</MinifiedResourceDir>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<UpToDateCheckInput Include="$(ProjectDir)../Resources/Tracker/scripts/**" Visible="false" />
|
|
<EmbeddedResource Include="$(MinifiedResourceDir)/discord.js" LogicalName="Tracker\scripts\discord.js" Visible="false" />
|
|
<EmbeddedResource Include="$(MinifiedResourceDir)/dom.js" LogicalName="Tracker\scripts\dom.js" Visible="false" />
|
|
<EmbeddedResource Include="$(MinifiedResourceDir)/gui.js" LogicalName="Tracker\scripts\gui.js" Visible="false" />
|
|
<EmbeddedResource Include="$(MinifiedResourceDir)/settings.js" LogicalName="Tracker\scripts\settings.js" Visible="false" />
|
|
<EmbeddedResource Include="$(MinifiedResourceDir)/state.js" LogicalName="Tracker\scripts\state.js" Visible="false" />
|
|
</ItemGroup>
|
|
<RemoveDir Directories="$(ProjectDir)bin/.res/scripts" />
|
|
<Exec Command="python $(ProjectDir)../Resources/minify.py" WorkingDirectory="$(ProjectDir)../Resources" IgnoreExitCode="false" />
|
|
</Target>
|
|
</Project>
|