Aragas/Bannerlord.MBOptionScreen

View on GitHub
src/MCM/MCM.csproj

Summary

Maintainability
Test Coverage
<!--EXTERNAL_PROPERTIES: DefineConstantsGameVersion;ButterLibVersion;HarmonyVersion;ButterLibVersion;BuildResourcesVersion-->
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>netstandard2.0</TargetFramework>
    <Authors>Aragas, mipen</Authors>
    <AssemblyName>MCMv5</AssemblyName>
    <Configurations>Debug;Release</Configurations>
    <DefineConstants>$(DefineConstants);BUTRDEPENDENCYINJECTION_PUBLIC;BANNERLORDMCM_PUBLIC;BANNERLORDMCM_INCLUDE_IN_CODE_COVERAGE;BANNERLORDMCM_NOT_SOURCE</DefineConstants>
    <LangVersion>latest</LangVersion>
  </PropertyGroup>

  <!--NuGet Package-->
  <PropertyGroup>
    <PackageId>Bannerlord.MCM</PackageId>
    <PackageDescription>A library for easy Setting integration. Is a self sufficient library, requires the Standalone module to show the settings in the UI!</PackageDescription>
    <Title>Mod Configuration Menu</Title>
    <PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
    <PackageLicenseExpression>MIT</PackageLicenseExpression>
    <PackageIcon>MCM-128-w-2.png</PackageIcon>
  </PropertyGroup>
  <ItemGroup>
    <None Include="../../resources/MCM-128-w-2.png" Pack="true" PackagePath="" />
  </ItemGroup>
  <!--NuGet Package-->

  <ItemGroup>
    <PackageReference Include="Bannerlord.Lib.Harmony" Version="$(HarmonyVersion)" IncludeAssets="compile" />
    <PackageReference Include="Bannerlord.ReferenceAssemblies.Core" Version="$(GameVersion).*-*" PrivateAssets="all" />
    <PackageReference Include="Newtonsoft.Json" Version="13.0.1" PrivateAssets="all" IncludeAssets="compile" />

    <PackageReference Include="Bannerlord.BUTR.Shared" Version="$(BUTRSharedVersion)" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
    <PackageReference Include="Bannerlord.ModuleManager.Source" Version="$(BUTRModuleManagerVersion)" PrivateAssets="all" />
    <PackageReference Include="BUTR.DependencyInjection" Version="$(BUTRDependencyInjectionVersion)" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
    <PackageReference Include="LightInject.Source" Version="$(LightInjectVersion)" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
    <PackageReference Include="Harmony.Extensions" Version="$(HarmonyExtensionsVersion)" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
  </ItemGroup>

  <ItemGroup>
    <InternalsVisibleTo Include="MCM.Tests" />
  </ItemGroup>

  <ItemGroup>
    <Compile Include="..\MCM.Abstractions\**\*.cs" Exclude="..\MCM.Abstractions\obj\**\*;..\MCM.Abstractions\bin\**\*" LinkBase="Abstractions" />
    <Compile Include="..\MCM.Common\**\*.cs" Exclude="..\MCM.Common\obj\**\*;..\MCM.Common\bin\**\*" LinkBase="Common" />
    <Compile Include="..\MCM.Bannerlord\**\*.cs" Exclude="..\MCM.Bannerlord\obj\**\*;..\MCM.Bannerlord\bin\**\*" LinkBase="Bannerlord" />
    <Compile Include="..\MCM.Implementation\**\*.cs" Exclude="..\MCM.Implementation\obj\**\*;..\MCM.Implementation\bin\**\*" LinkBase="Implementation" />
  </ItemGroup>

</Project>