|
|
|
<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.6.0-dev.1</Version>
|
|
|
|
<InformationalVersion>$(Version)</InformationalVersion>
|
|
|
|
<EnableWindowsTargeting>true</EnableWindowsTargeting>
|
|
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
<InternalsVisibleTo Include="StabilityMatrix.Tests" />
|
|
|
|
<InternalsVisibleTo Include="StabilityMatrix.UITests" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
<PackageReference Include="AsyncImageLoader.Avalonia" Version="3.2.1" />
|
|
|
|
<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.5" />
|
|
|
|
<PackageReference Include="Avalonia.Desktop" Version="11.0.5" />
|
|
|
|
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.0.5" />
|
|
|
|
<!--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.5" />
|
|
|
|
<PackageReference Include="Avalonia.HtmlRenderer" Version="11.0.0" />
|
|
|
|
<PackageReference Include="Avalonia.Xaml.Behaviors" Version="11.0.2" />
|
|
|
|
<PackageReference Include="AvaloniaEdit.TextMate" Version="11.0.1" />
|
|
|
|
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.1" />
|
|
|
|
<PackageReference Include="DiscordRichPresence" Version="1.2.1.24" />
|
|
|
|
<PackageReference Include="Dock.Avalonia" Version="11.0.0.2" />
|
|
|
|
<PackageReference Include="Dock.Model.Avalonia" Version="11.0.0.2" />
|
|
|
|
<PackageReference Include="Dock.Serializer" Version="11.0.0.2" />
|
|
|
|
<PackageReference Include="DynamicData" Version="8.1.1" />
|
|
|
|
<PackageReference Include="FluentAvalonia.BreadcrumbBar" Version="2.0.2" />
|
|
|
|
<PackageReference Include="FluentAvaloniaUI" Version="2.0.4" />
|
|
|
|
<PackageReference Include="FluentIcons.Avalonia" Version="1.1.220" />
|
|
|
|
<PackageReference Include="FluentIcons.FluentAvalonia" Version="1.1.220" />
|
|
|
|
<PackageReference Include="FuzzySharp" Version="2.0.2" />
|
|
|
|
<PackageReference Include="JetBrains.Annotations" Version="2023.3.0" />
|
|
|
|
<PackageReference Include="Markdown.Avalonia" Version="11.0.2" />
|
|
|
|
<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.12" />
|
|
|
|
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="7.0.0" />
|
|
|
|
<PackageReference Include="Nito.AsyncEx" Version="5.1.2" />
|
|
|
|
<PackageReference Include="NLog" Version="5.2.5" />
|
|
|
|
<PackageReference Include="NLog.Extensions.Logging" Version="5.3.5" />
|
|
|
|
<PackageReference Include="NSubstitute" Version="5.1.0" />
|
|
|
|
<PackageReference Include="Polly" Version="8.0.0" />
|
|
|
|
<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="8.3.0" />
|
|
|
|
<PackageReference Include="RockLib.Reflection.Optimized" Version="2.0.0" />
|
|
|
|
<PackageReference Include="Sentry" Version="3.40.1" />
|
|
|
|
<PackageReference Include="Sentry.NLog" Version="3.40.1" />
|
|
|
|
<PackageReference Include="SpacedGrid-Avalonia" Version="11.0.0" />
|
|
|
|
<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.56" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
<AvaloniaResource Include="Assets\Icon.ico" />
|
|
|
|
<AvaloniaResource Include="Assets\Icon.png" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
<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\brands-*.png" />
|
|
|
|
<AvaloniaResource Include="Assets\brands-*.svg" />
|
|
|
|
</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>
|