sourcegit/src/SourceGit.csproj

70 lines
3.2 KiB
XML
Raw Normal View History

2024-03-20 00:36:10 -07:00
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
2024-05-29 05:51:24 -07:00
<OutputType>WinExe</OutputType>
<TargetFramework>net9.0</TargetFramework>
2024-03-20 00:36:10 -07:00
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
<ApplicationManifest>App.manifest</ApplicationManifest>
<ApplicationIcon>App.ico</ApplicationIcon>
2024-04-16 20:00:48 -07:00
<Version>$([System.IO.File]::ReadAllText("$(MSBuildProjectDirectory)\\..\\VERSION"))</Version>
2024-03-20 00:36:10 -07:00
<BuiltInComInteropSupport>false</BuiltInComInteropSupport>
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
<SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
2024-03-20 00:36:10 -07: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>
<PropertyGroup Condition="'$(DisableAOT)' != 'true'">
2024-07-26 02:47:22 -07:00
<PublishAot>true</PublishAot>
<PublishTrimmed>true</PublishTrimmed>
<TrimMode>link</TrimMode>
</PropertyGroup>
<PropertyGroup Condition="'$(DisableUpdateDetection)' == 'true'">
<DefineConstants>$(DefineConstants);DISABLE_UPDATE_DETECTION</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(EnablePortable)' == 'true'">
<DefineConstants>$(DefineConstants);ENABLE_PORTABLE</DefineConstants>
</PropertyGroup>
2024-03-20 00:36:10 -07:00
<ItemGroup>
<AvaloniaResource Include="App.ico" />
<AvaloniaResource Include="Resources/Fonts/*" />
<AvaloniaResource Include="Resources/Grammars/*" />
<AvaloniaResource Include="Resources/Images/*" />
<AvaloniaResource Include="Resources/Images/ExternalToolIcons/*" />
<AvaloniaResource Include="Resources/Images/ExternalToolIcons/JetBrains/*" />
<AvaloniaResource Include="Resources/Images/ShellIcons/*" />
2024-03-20 00:36:10 -07:00
</ItemGroup>
<ItemGroup>
2024-12-19 01: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'" />
<PackageReference Include="Avalonia.AvaloniaEdit" Version="11.1.0" />
<PackageReference Include="AvaloniaEdit.TextMate" Version="11.1.0" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.3.2" />
<PackageReference Include="LiveChartsCore.SkiaSharpView.Avalonia" Version="2.0.0-rc4.5" />
<PackageReference Include="TextMateSharp" Version="1.0.65" />
<PackageReference Include="TextMateSharp.Grammars" Version="1.0.65" />
2024-03-20 00:36:10 -07:00
</ItemGroup>
<ItemGroup>
<TrimmerRootAssembly Include="SourceGit" />
<TrimmerRootAssembly Include="Avalonia.Themes.Fluent" />
</ItemGroup>
2024-08-07 04:52:08 -07:00
<ItemGroup Condition="$([MSBuild]::IsOSPlatform('OSX'))">
<LinkerArg Include="-mmacosx-version-min=11.0" Condition="'$(Configuration)' == 'Release'" />
</ItemGroup>
</Project>