2024-03-20 02:36:10 -05:00
|
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
|
<PropertyGroup>
|
2024-05-29 20:51:24 +08:00
|
|
|
|
<OutputType>WinExe</OutputType>
|
2024-11-16 16:06:30 +08:00
|
|
|
|
<TargetFramework>net9.0</TargetFramework>
|
2024-03-20 02:36:10 -05:00
|
|
|
|
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
|
|
|
|
|
<ApplicationManifest>App.manifest</ApplicationManifest>
|
|
|
|
|
<ApplicationIcon>App.ico</ApplicationIcon>
|
2024-04-17 11:00:48 +08:00
|
|
|
|
<Version>$([System.IO.File]::ReadAllText("$(MSBuildProjectDirectory)\\..\\VERSION"))</Version>
|
2024-03-20 02:36:10 -05:00
|
|
|
|
<BuiltInComInteropSupport>false</BuiltInComInteropSupport>
|
|
|
|
|
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
|
|
|
|
|
<SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
|
2024-08-06 14:03:24 +08:00
|
|
|
|
|
2024-03-20 02:36:10 -05:00
|
|
|
|
<Product>SourceGit</Product>
|
|
|
|
|
<Description>OpenSource GIT client</Description>
|
|
|
|
|
<Company>sourcegit-scm</Company>
|
|
|
|
|
<Copyright>Copyright © 2024 sourcegit-scm.</Copyright>
|
|
|
|
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
|
|
|
|
<PackageProjectUrl>https://github.com/sourcegit-scm/sourcegit.git</PackageProjectUrl>
|
|
|
|
|
<RepositoryUrl>https://github.com/sourcegit-scm/sourcegit.git</RepositoryUrl>
|
|
|
|
|
<RepositoryType>Public</RepositoryType>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2025-01-02 11:16:18 +08:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Release' and '$(DisableAOT)' != 'true'">
|
2024-07-26 17:47:22 +08:00
|
|
|
|
<PublishAot>true</PublishAot>
|
|
|
|
|
<PublishTrimmed>true</PublishTrimmed>
|
|
|
|
|
<TrimMode>link</TrimMode>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2024-12-17 10:26:35 +08:00
|
|
|
|
<PropertyGroup Condition="'$(DisableUpdateDetection)' == 'true'">
|
|
|
|
|
<DefineConstants>$(DefineConstants);DISABLE_UPDATE_DETECTION</DefineConstants>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2024-03-20 02:36:10 -05:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<AvaloniaResource Include="App.ico" />
|
2024-04-09 10:41:37 +08:00
|
|
|
|
<AvaloniaResource Include="Resources/Fonts/*" />
|
2024-08-18 00:18:18 +08:00
|
|
|
|
<AvaloniaResource Include="Resources/Grammars/*" />
|
2024-08-02 18:06:45 +08:00
|
|
|
|
<AvaloniaResource Include="Resources/Images/*" />
|
|
|
|
|
<AvaloniaResource Include="Resources/Images/ExternalToolIcons/*" />
|
|
|
|
|
<AvaloniaResource Include="Resources/Images/ExternalToolIcons/JetBrains/*" />
|
|
|
|
|
<AvaloniaResource Include="Resources/Images/ShellIcons/*" />
|
2024-03-20 02:36:10 -05:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
2024-12-19 17:09:20 +08:00
|
|
|
|
<PackageReference Include="Avalonia" Version="11.2.3" />
|
|
|
|
|
<PackageReference Include="Avalonia.Desktop" Version="11.2.3" />
|
|
|
|
|
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.2.3" />
|
|
|
|
|
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.2.3" />
|
|
|
|
|
<PackageReference Include="Avalonia.Diagnostics" Version="11.2.3" Condition="'$(Configuration)' == 'Debug'" />
|
2024-08-06 14:03:24 +08:00
|
|
|
|
<PackageReference Include="Avalonia.AvaloniaEdit" Version="11.1.0" />
|
|
|
|
|
<PackageReference Include="AvaloniaEdit.TextMate" Version="11.1.0" />
|
2024-10-23 22:31:05 -03:00
|
|
|
|
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.3.2" />
|
2024-11-15 11:51:13 +08:00
|
|
|
|
<PackageReference Include="LiveChartsCore.SkiaSharpView.Avalonia" Version="2.0.0-rc4.5" />
|
2024-12-19 19:30:17 +08:00
|
|
|
|
<PackageReference Include="TextMateSharp" Version="1.0.65" />
|
|
|
|
|
<PackageReference Include="TextMateSharp.Grammars" Version="1.0.65" />
|
2024-03-20 02:36:10 -05:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<TrimmerRootAssembly Include="SourceGit" />
|
|
|
|
|
<TrimmerRootAssembly Include="Avalonia.Themes.Fluent" />
|
|
|
|
|
</ItemGroup>
|
2024-08-06 14:03:24 +08:00
|
|
|
|
|
2024-08-07 19:52:08 +08:00
|
|
|
|
<ItemGroup Condition="$([MSBuild]::IsOSPlatform('OSX'))">
|
2024-09-09 10:01:41 +08:00
|
|
|
|
<LinkerArg Include="-mmacosx-version-min=11.0" Condition="'$(Configuration)' == 'Release'" />
|
2024-07-22 18:24:08 +08:00
|
|
|
|
</ItemGroup>
|
2024-07-27 21:35:57 +08:00
|
|
|
|
</Project>
|