Aragas/Bannerlord.MBOptionScreen

View on GitHub
src/MCM.Publish/MCM.Publish.csproj

Summary

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

  <PropertyGroup>
    <TargetFrameworks>net472;net6-windows</TargetFrameworks>
    <Authors>Aragas</Authors>
    <ModuleId>Bannerlord.MBOptionScreen</ModuleId>
    <ModuleName>Mod Configuration Menu v5</ModuleName>
    <PostBuildCopyToModulesRegex>^(?!MCM.Publish).*\.dll|^(?!MCM.Publish).*\.pdb</PostBuildCopyToModulesRegex>
    <Configurations>Stable_Debug;Beta_Debug;Stable_Release;Beta_Release</Configurations>
    <DefineConstants>$(DefineConstants);BANNERLORDMCM_PUBLIC;</DefineConstants>
    <BuildForWindows>false</BuildForWindows>
    <BuildForWindowsStore>false</BuildForWindowsStore>
  </PropertyGroup>

  <PropertyGroup Condition="$(TargetFramework) == 'net472'">
    <BuildForWindows>true</BuildForWindows>
  </PropertyGroup>
  <PropertyGroup Condition="$(TargetFramework) == 'net6'">
    <BuildForWindowsStore>true</BuildForWindowsStore>
    <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
    <EnableWindowsTargeting>true</EnableWindowsTargeting>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Bannerlord.BuildResources" Version="$(BuildResourcesVersion)" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\MCM.UI\MCM.UI.csproj" />
    <ProjectReference Include="..\MCM\MCM.csproj" />
    <ProjectReference Include="..\MCM.UI.Adapter.MCMv5\MCM.UI.Adapter.MCMv5.csproj" />
  </ItemGroup>

</Project>