解决MySql布尔型新旧版本兼容问题,采用枚举来表示布尔型的数据表。由正向工程赋值
大石头
authored at
2018-05-15 21:21:05
X
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<AssemblyTitle>Http服务器</AssemblyTitle>
<Description>轻量级Http服务器,支持WebSocket,可用于追求简单Http服务的场景,例如暴露硬件控制为Http接口,如打印组件</Description>
<Company>新生命开发团队</Company>
<Copyright>©2002-2026 NewLife</Copyright>
<VersionPrefix>1.0</VersionPrefix>
<VersionSuffix>$([System.DateTime]::Now.ToString(`yyyy.MMdd`))</VersionSuffix>
<Version>$(VersionPrefix).$(VersionSuffix)</Version>
<FileVersion>$(Version)</FileVersion>
<AssemblyVersion>$(VersionPrefix).*</AssemblyVersion>
<Deterministic>false</Deterministic>
<OutputPath>..\..\Bin\HttpServer</OutputPath>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<ItemGroup>
<Content Include="..\..\Doc\leaf.png" Link="images\leaf.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<PackageReference Include="NewLife.Redis" Version="6.5.2026.701" />
<PackageReference Include="NewLife.Stardust" Version="3.9.2026.708" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\NewLife.Core\NewLife.Core.csproj" />
</ItemGroup>
<ItemGroup>
<Folder Include="images\" />
</ItemGroup>
</Project>
|