引入redis服务,支持自动化单元测试
大石头 编写于 2022-03-31 22:56:30
X
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="Current">
  <PropertyGroup>
    <TargetFrameworks>netcoreapp3.1;net5.0;net6.0;netstandard2.1</TargetFrameworks>
    <AssemblyName>NewLife.Core</AssemblyName>
    <RootNamespace>NewLife</RootNamespace>
    <AssemblyTitle>NewLife组件核心库</AssemblyTitle>
    <Description>核心基础组件,日志(文件/网络)、配置(XML/Json/Http)、缓存(内存/Redis)、网络(Tcp/Udp/Http)、RPC框架、序列化(Binary/XML/Json)、APM性能追踪。旧版请找2021.1225</Description>
    <Company>新生命开发团队</Company>
    <Copyright>©2002-2022 NewLife</Copyright>
    <VersionPrefix>9.0</VersionPrefix>
    <VersionSuffix>$([System.DateTime]::Now.ToString(`yyyy.MMdd`))</VersionSuffix>
    <Version>$(VersionPrefix).$(VersionSuffix)</Version>
    <FileVersion>$(Version)</FileVersion>
    <AssemblyVersion>$(VersionPrefix).$([System.DateTime]::Now.ToString(`yyyy.MMdd`))</AssemblyVersion>
    <OutputPath>..\..\Bin</OutputPath>
    <GenerateDocumentationFile>True</GenerateDocumentationFile>
    <LangVersion>latest</LangVersion>
    <!--<Nullable>enable</Nullable>-->
  </PropertyGroup>
  <PropertyGroup>
    <PackageId>$(AssemblyName)</PackageId>
    <Authors>$(Company)</Authors>
    <PackageProjectUrl>https://www.yuque.com/smartstone/nx</PackageProjectUrl>
    <PackageIcon>leaf.png</PackageIcon>
    <RepositoryUrl>https://github.com/NewLifeX/X</RepositoryUrl>
    <RepositoryType>git</RepositoryType>
    <PackageTags>新生命团队;X组件;NewLife;$(AssemblyName)</PackageTags>
    <PackageReleaseNotes>优化HTTP相关埋点;TimerX规避时间回拨</PackageReleaseNotes>
    <PackageLicenseExpression>MIT</PackageLicenseExpression>
    <PublishRepositoryUrl>true</PublishRepositoryUrl>
    <IncludeSources>true</IncludeSources>
    <IncludeSymbols>true</IncludeSymbols>
  </PropertyGroup>  
  <ItemGroup>
    <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
      <PrivateAssets>all</PrivateAssets>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
    </PackageReference>
  </ItemGroup>

  <ItemGroup>
    <Compile Remove="Agent\**" />
    <Compile Remove="Web\OAuth\**" />
    <EmbeddedResource Remove="Agent\**" />
    <EmbeddedResource Remove="Web\OAuth\**" />
    <None Remove="Agent\**" />
    <None Remove="Web\OAuth\**" />
  </ItemGroup>
  <ItemGroup>
    <Compile Remove="Algorithms\BilinearInterpolation.cs" />
    <Compile Remove="Algorithms\BucketModes.cs" />
    <Compile Remove="Algorithms\BucketSource.cs" />
    <Compile Remove="Algorithms\LagrangeInterpolation.cs" />
    <Compile Remove="Algorithms\LTOBSampling.cs" />
    <Compile Remove="Algorithms\LTTBSampling.cs" />
    <Compile Remove="Algorithms\MaxSampling.cs" />
    <Compile Remove="Algorithms\MinSampling.cs" />
    <Compile Remove="Algorithms\SumSampling.cs" />
    <Compile Remove="Extension\EndPointExtensions.cs" />
    <Compile Remove="Http\HttpClient.cs" />
    <Compile Remove="Net\NetException.cs" />
    <Compile Remove="Net\SerialPortConfig.cs" />
    <Compile Remove="Net\SerialTransport.cs" />
    <Compile Remove="Net\WebSocketSession.cs" />
    <Compile Remove="Properties\AssemblyInfo.cs" />
    <Compile Remove="Reflection\EmitHelper.cs" />
    <Compile Remove="Reflection\EmitReflect.cs" />
    <Compile Remove="Reflection\IIndexAccessor.cs" />
    <Compile Remove="Security\ECDsaHelper.cs" />
    <Compile Remove="Serialization\BinaryCodec.cs" />
    <Compile Remove="Serialization\BinaryCodec2.cs" />
    <Compile Remove="Serialization\Binary\BinaryPair.cs" />
    <Compile Remove="Serialization\Binary\BinaryUnknown.cs" />
    <Compile Remove="Serialization\JsonCodec.cs" />
    <Compile Remove="Serialization\JsonCodec2.cs" />
    <Compile Remove="Serialization\Json\JsonTest.cs" />
    <Compile Remove="Web\OAuthClient.cs" />
    <Compile Remove="Web\OAuthConfig.cs" />
    <Compile Remove="Web\OAuthServer.cs" />
    <Compile Remove="Web\Pager.cs" />
    <Compile Remove="Web\WebHelper.cs" />
    <Compile Remove="Windows\MySpeech.cs" />
    <Compile Remove="发布NuGet.cs" />
  </ItemGroup>
  <ItemGroup>
    <None Remove="UpdateInfo.txt" />
    <None Remove="X组件.txt" />
  </ItemGroup>
  <ItemGroup>
    <Content Include="..\Doc\leaf.png" Link="leaf.png" PackagePath="\" />
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="UpdateInfo.txt" />
    <EmbeddedResource Include="Windows\MySpeech.cs" />
    <EmbeddedResource Include="X组件.txt" />
  </ItemGroup>
</Project>