You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
132 lines
6.7 KiB
132 lines
6.7 KiB
<Project Sdk="Microsoft.NET.Sdk"> |
|
<PropertyGroup> |
|
<OutputType>WinExe</OutputType> |
|
<TargetFramework>net7.0</TargetFramework> |
|
<RuntimeIdentifiers>win-x64;linux-x64;osx-x64;osx-arm64</RuntimeIdentifiers> |
|
<Nullable>enable</Nullable> |
|
<BuiltInComInteropSupport>true</BuiltInComInteropSupport> |
|
<ApplicationManifest>app.manifest</ApplicationManifest> |
|
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault> |
|
<ApplicationIcon>./Assets/Icon.ico</ApplicationIcon> |
|
<Version>2.5.0-dev.5</Version> |
|
<InformationalVersion>$(Version)</InformationalVersion> |
|
<EnableWindowsTargeting>true</EnableWindowsTargeting> |
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
|
</PropertyGroup> |
|
|
|
<ItemGroup> |
|
<InternalsVisibleTo Include="StabilityMatrix.Tests" /> |
|
</ItemGroup> |
|
|
|
<ItemGroup> |
|
<PackageReference Include="AsyncImageLoader.Avalonia" Version="3.2.0" /> |
|
<PackageReference Include="AutoComplete.Net" Version="1.2211.2014.42"/> |
|
<PackageReference Include="Avalonia.AvaloniaEdit" Version="11.0.1" /> |
|
<PackageReference Include="Avalonia.Controls.PanAndZoom" Version="11.0.0" /> |
|
<PackageReference Include="Avalonia" Version="11.0.4" /> |
|
<PackageReference Include="Avalonia.Desktop" Version="11.0.4" /> |
|
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.0.4" /> |
|
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.--> |
|
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.0.4" /> |
|
<PackageReference Include="Avalonia.HtmlRenderer" Version="11.0.0" /> |
|
<PackageReference Include="Avalonia.Xaml.Behaviors" Version="11.0.2" /> |
|
<PackageReference Include="AvaloniaEdit.TextMate" Version="11.0.0" /> |
|
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.1" /> |
|
<PackageReference Include="DiscordRichPresence" Version="1.2.1.24" /> |
|
<PackageReference Include="Dock.Avalonia" Version="11.0.0.1" /> |
|
<PackageReference Include="Dock.Model.Avalonia" Version="11.0.0.2" /> |
|
<PackageReference Include="DynamicData" Version="7.14.2" /> |
|
<PackageReference Include="FluentAvaloniaUI" Version="2.0.4" /> |
|
<PackageReference Include="FluentIcons.Avalonia" Version="1.1.217" /> |
|
<PackageReference Include="FluentIcons.FluentAvalonia" Version="1.1.217" /> |
|
<PackageReference Include="FuzzySharp" Version="2.0.2" /> |
|
<PackageReference Include="Markdown.Avalonia" Version="11.0.0" /> |
|
<PackageReference Include="MetadataExtractor" Version="2.8.1" /> |
|
<PackageReference Include="Microsoft.Extensions.Configuration" Version="7.0.0" /> |
|
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="7.0.0" /> |
|
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="7.0.0" /> |
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" /> |
|
<PackageReference Include="Microsoft.Extensions.Http.Polly" Version="7.0.8" /> |
|
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="7.0.0" /> |
|
<PackageReference Include="Nito.AsyncEx" Version="5.1.2" /> |
|
<PackageReference Include="NLog" Version="5.2.3" /> |
|
<PackageReference Include="NLog.Extensions.Logging" Version="5.3.2" /> |
|
<PackageReference Include="Polly" Version="7.2.4" /> |
|
<PackageReference Include="Polly.Contrib.WaitAndRetry" Version="1.1.1" /> |
|
<PackageReference Include="Polly.Extensions.Http" Version="3.0.0" /> |
|
<PackageReference Include="Projektanker.Icons.Avalonia.FontAwesome" Version="6.6.0" /> |
|
<PackageReference Include="RockLib.Reflection.Optimized" Version="2.0.0" /> |
|
<PackageReference Include="Sentry" Version="3.33.1" /> |
|
<PackageReference Include="Sentry.NLog" Version="3.33.1" /> |
|
<PackageReference Include="Sylvan.Common" Version="0.4.2" /> |
|
<PackageReference Include="Sylvan.Data" Version="0.2.12" /> |
|
<PackageReference Include="Sylvan.Data.Csv" Version="1.3.3" /> |
|
<PackageReference Include="TextMateSharp.Grammars" Version="1.0.55" /> |
|
</ItemGroup> |
|
|
|
|
|
<ItemGroup> |
|
<AvaloniaResource Include="Assets\Icon.ico" /> |
|
<AvaloniaResource Include="Assets\Icon.png" /> |
|
</ItemGroup> |
|
|
|
<ItemGroup> |
|
<AvaloniaResource Include="Assets\ImagePrompt.tmLanguage.json" /> |
|
<AvaloniaResource Include="Assets\ImagePrompt.tmLanguage.json" /> |
|
<AvaloniaResource Include="Assets\ThemeMatrixDark.json" /> |
|
</ItemGroup> |
|
|
|
<ItemGroup> |
|
<ProjectReference Include="..\StabilityMatrix.Core\StabilityMatrix.Core.csproj" /> |
|
</ItemGroup> |
|
|
|
<ItemGroup> |
|
<ProjectReference Condition="'$(Configuration)' == 'Debug'" Include="..\StabilityMatrix.Avalonia.Diagnostics\StabilityMatrix.Avalonia.Diagnostics.csproj" /> |
|
</ItemGroup> |
|
|
|
<ItemGroup> |
|
<AvaloniaResource Include="Assets\noimage.png" /> |
|
</ItemGroup> |
|
|
|
<ItemGroup> |
|
<AvaloniaResource Include="Assets\licenses.json" /> |
|
</ItemGroup> |
|
|
|
<ItemGroup> |
|
<AvaloniaResource Include="Assets\sitecustomize.py" /> |
|
</ItemGroup> |
|
|
|
<ItemGroup> |
|
<AvaloniaResource Include="Assets\Fonts\**" /> |
|
</ItemGroup> |
|
|
|
<ItemGroup> |
|
<!-- Only for win-64 --> |
|
<AvaloniaResource Include="Assets\win-x64\**" Condition="'$(RuntimeIdentifier)' == 'win-x64'" /> |
|
<!-- Only for linux-64 --> |
|
<AvaloniaResource Include="Assets\linux-x64\**" Condition="'$(RuntimeIdentifier)' == 'linux-x64'" /> |
|
<!-- Only for osx-arm64 --> |
|
<AvaloniaResource Include="Assets\macos-arm64\**" Condition="'$(RuntimeIdentifier)' == 'osx-arm64'" /> |
|
</ItemGroup> |
|
|
|
<ItemGroup> |
|
<EmbeddedResource Update="Languages\Resources.resx"> |
|
<Generator>PublicResXFileCodeGenerator</Generator> |
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput> |
|
</EmbeddedResource> |
|
</ItemGroup> |
|
|
|
<ItemGroup> |
|
<Compile Update="Languages\Resources.Designer.cs"> |
|
<DesignTime>True</DesignTime> |
|
<AutoGen>True</AutoGen> |
|
<DependentUpon>Resources.resx</DependentUpon> |
|
</Compile> |
|
</ItemGroup> |
|
|
|
<!-- set HUSKY to 0 to disable, or opt-in during CI by setting HUSKY to 1 --> |
|
<Target Name="husky" BeforeTargets="Restore;CollectPackageReferences" Condition="'$(HUSKY)' == 1 Or ('$(HUSKY)' != 0 And '$(CI)' != 'true')"> |
|
<Exec Command="dotnet tool restore" StandardOutputImportance="Low" StandardErrorImportance="High"/> |
|
<Exec Command="dotnet husky install" StandardOutputImportance="Low" StandardErrorImportance="High" WorkingDirectory="../" /> |
|
</Target> |
|
</Project>
|
|
|