forked from EllieBotDevs/elliebot
140 lines
7.2 KiB
XML
140 lines
7.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net7.0</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
<ImplicitUsings>true</ImplicitUsings>
|
|
|
|
<!-- Output/build -->
|
|
<RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory>
|
|
<OutputType>exe</OutputType>
|
|
<ApplicationIcon>ellie_icon.ico</ApplicationIcon>
|
|
|
|
<!-- Analysis/Warnings -->
|
|
<!-- <AnalysisMode>Recommended</AnalysisMode>-->
|
|
<!-- <AnalysisModeGlobalization>None</AnalysisModeGlobalization>-->
|
|
<NoWarn>CS1066;CS8981</NoWarn>
|
|
|
|
<!-- Profile-guided optimization -->
|
|
<TieredPGO>true</TieredPGO>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="AngleSharp" Version="1.0.1">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<Publish>True</Publish>
|
|
</PackageReference>
|
|
<PackageReference Include="AWSSDK.S3" Version="3.7.101.58" />
|
|
<PackageReference Include="CodeHollow.FeedReader" Version="1.2.6" />
|
|
<PackageReference Include="CommandLineParser" Version="2.9.1" />
|
|
<PackageReference Include="CoreCLR-NCalc" Version="2.2.110" />
|
|
<PackageReference Include="Google.Apis.Urlshortener.v1" Version="1.41.1.138" />
|
|
<PackageReference Include="Google.Apis.YouTube.v3" Version="1.62.1.3205" />
|
|
<PackageReference Include="Google.Apis.Customsearch.v1" Version="1.49.0.2084" />
|
|
<PackageReference Include="Google.Protobuf" Version="3.22.1" />
|
|
<PackageReference Include="Grpc.Net.ClientFactory" Version="2.52.0" />
|
|
<PackageReference Include="Grpc.Tools" Version="2.53.0">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Html2Markdown" Version="5.1.0.703" />
|
|
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="4.5.0" />
|
|
|
|
<PackageReference Include="Microsoft.Extensions.Configuration" Version="7.0.0" />
|
|
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="7.0.0" />
|
|
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="7.0.0" />
|
|
|
|
<PackageReference Include="MorseCode.ITask" Version="2.0.3" />
|
|
<PackageReference Include="NetEscapades.Configuration.Yaml" Version="3.0.0" />
|
|
|
|
<!-- DI -->
|
|
<PackageReference Include="Ninject" Version="3.3.6" />
|
|
<PackageReference Include="Ninject.Extensions.Conventions" Version="3.3.0" />
|
|
<!-- <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />-->
|
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.0.0" />
|
|
<!-- <PackageReference Include="Scrutor" Version="4.2.0" />-->
|
|
|
|
<PackageReference Include="Microsoft.Extensions.Http" Version="7.0.0" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="7.0.0" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="7.0.0" />
|
|
<PackageReference Include="Microsoft.SyndicationFeed.ReaderWriter" Version="1.0.2" />
|
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
|
<PackageReference Include="NonBlocking" Version="2.1.1" />
|
|
<PackageReference Include="OneOf" Version="3.0.243" />
|
|
<PackageReference Include="Serilog.Sinks.Console" Version="4.1.0" />
|
|
<PackageReference Include="Serilog.Sinks.Seq" Version="5.2.2" />
|
|
<PackageReference Include="SixLabors.Fonts" Version="1.0.0-beta17" />
|
|
<PackageReference Include="SixLabors.ImageSharp" Version="2.1.3" />
|
|
<PackageReference Include="SixLabors.ImageSharp.Drawing" Version="1.0.0-beta14" />
|
|
<PackageReference Include="SixLabors.Shapes" Version="1.0.0-beta0009" />
|
|
<PackageReference Include="StackExchange.Redis" Version="2.6.104" />
|
|
<PackageReference Include="YamlDotNet" Version="13.0.2" />
|
|
|
|
<PackageReference Include="Humanizer" Version="2.14.1">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<Publish>True</Publish>
|
|
</PackageReference>
|
|
|
|
<PackageReference Include="JetBrains.Annotations" Version="2022.3.1" />
|
|
|
|
|
|
<!-- Db-related packages -->
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.4" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.4">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
|
|
<PackageReference Include="linq2db.EntityFrameworkCore" Version="7.3.0" />
|
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="7.0.4" />
|
|
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="7.0.3" />
|
|
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="7.0.0" />
|
|
|
|
<PackageReference Include="EFCore.NamingConventions" Version="7.0.2" />
|
|
|
|
<!-- Used by stream notifications -->
|
|
<PackageReference Include="TwitchLib.Api" Version="3.4.1" />
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\ayu\Ayu.Discord.Voice\Ayu.Discord.Voice.csproj" />
|
|
<ProjectReference Include="..\Ellie.Econ\Ellie.Econ.csproj" />
|
|
<ProjectReference Include="..\Ellie.Marmalade\Ellie.Marmalade.csproj" />
|
|
<ProjectReference Include="..\Ellie.Bot.Common\Ellie.Bot.Common.csproj" />
|
|
<ProjectReference Include="..\Ellie.Bot.Modules.Administration\Ellie.Bot.Modules.Administration.csproj" />
|
|
<ProjectReference Include="..\Ellie.Bot.Modules.Help\Ellie.Bot.Modules.Help.csproj" />
|
|
<ProjectReference Include="..\Ellie.Bot.Modules.Music\Ellie.Bot.Modules.Music.csproj" />
|
|
<ProjectReference Include="..\Ellie.Bot.Modules.Patronage\Ellie.Bot.Modules.Patronage.csproj" />
|
|
<ProjectReference Include="..\Ellie.Bot.Modules.Permisssions\Ellie.Bot.Modules.Permisssions.csproj" />
|
|
<ProjectReference Include="..\Ellie.Bot.Modules.Utility\Ellie.Bot.Modules.Utility.csproj" />
|
|
<ProjectReference Include="..\Ellie.Bot.Modules.Xp\Ellie.Bot.Modules.Xp.csproj" />
|
|
<!-- <ProjectReference Include="..\Ellise.Common\Ellise.Common.csproj" />-->
|
|
<ProjectReference Include="..\Ellie.Bot.Modules.Expresssions\Ellie.Bot.Modules.Expresssions.csproj" />
|
|
<ProjectReference Include="..\Ellie.Bot.Modules.Gambling\Ellie.Bot.Modules.Gambling.csproj" />
|
|
|
|
<ProjectReference Include="..\Ellie.Bot.Generators.Cloneable\Ellie.Bot.Generators.Cloneable.csproj" OutputItemType="Analyzer" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Protobuf Include="..\Ellie.Coordinator\Protos\coordinator.proto" GrpcServices="Client">
|
|
<Link>Protos\coordinator.proto</Link>
|
|
</Protobuf>
|
|
<None Update="data\**\*">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="ellie_icon.ico">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="creds.yml;creds_example.yml">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Version)' == '' ">
|
|
<VersionPrefix Condition=" '$(VersionPrefix)' == '' ">5.0.0</VersionPrefix>
|
|
<Version Condition=" '$(VersionSuffix)' != '' ">$(VersionPrefix).$(VersionSuffix)</Version>
|
|
<Version Condition=" '$(Version)' == '' ">$(VersionPrefix)</Version>
|
|
</PropertyGroup>
|
|
|
|
</Project>
|