mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-10-31 13:03:20 -07:00
61 lines
2.8 KiB
XML
61 lines
2.8 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
|
|
<ApplicationManifest>App.manifest</ApplicationManifest>
|
|
<ApplicationIcon>App.ico</ApplicationIcon>
|
|
<Version>$([System.IO.File]::ReadAllText("$(MSBuildProjectDirectory)\\..\\VERSION"))</Version>
|
|
<BuiltInComInteropSupport>false</BuiltInComInteropSupport>
|
|
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
|
|
<SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
|
|
|
|
<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="'$(Configuration)' == 'Release'">
|
|
<PublishAot>true</PublishAot>
|
|
<PublishTrimmed>true</PublishTrimmed>
|
|
<TrimMode>link</TrimMode>
|
|
<OptimizationPreference>Speed</OptimizationPreference>
|
|
</PropertyGroup>
|
|
|
|
<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/*" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Avalonia" Version="11.1.3" />
|
|
<PackageReference Include="Avalonia.Desktop" Version="11.1.3" />
|
|
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.1.3" />
|
|
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.1.3" />
|
|
<PackageReference Include="Avalonia.Diagnostics" Version="11.1.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.2.2" />
|
|
<PackageReference Include="TextMateSharp" Version="1.0.63" />
|
|
<PackageReference Include="TextMateSharp.Grammars" Version="1.0.63" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<TrimmerRootAssembly Include="SourceGit" />
|
|
<TrimmerRootAssembly Include="Avalonia.Themes.Fluent" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="$([MSBuild]::IsOSPlatform('OSX'))">
|
|
<LinkerArg Include="-mmacosx-version-min=11.0" Condition="'$(Configuration)' == 'Release'" />
|
|
</ItemGroup>
|
|
</Project>
|