解决MySql布尔型新旧版本兼容问题,采用枚举来表示布尔型的数据表。由正向工程赋值
大石头 authored at 2018-05-15 21:21:05
1.11 KiB
X
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>net10.0-ios</TargetFramework>
    <OutputType>Exe</OutputType>
    <Nullable>enable</Nullable>
    <ImplicitUsings>enable</ImplicitUsings>
    <LangVersion>latest</LangVersion>
    <RootNamespace>Mobile.iOSHost</RootNamespace>
    <AssemblyName>Mobile.iOS</AssemblyName>
    <SupportedOSPlatformVersion>13.0</SupportedOSPlatformVersion>
    <TrimMode Condition="'$(Configuration)' == 'Release' and '$(IncludeStardust)' != 'true'">full</TrimMode>
    <OutputPath>..\..\Bin\Mobile.iOS</OutputPath>
    <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
  </PropertyGroup>
  <PropertyGroup Condition="'$(IncludeStardust)' == 'true'">
    <DefineConstants>$(DefineConstants);STARDUST</DefineConstants>
    <TrimMode Condition="'$(Configuration)' == 'Release'">partial</TrimMode>
  </PropertyGroup>
  <ItemGroup>
    <ProjectReference Include="..\Mobile.Core\Mobile.Core.csproj" />
    <ProjectReference Include="..\Mobile.Stardust.Core\Mobile.Stardust.Core.csproj" Condition="'$(IncludeStardust)' == 'true'" />
  </ItemGroup>
</Project>