48 lines
2.0 KiB
XML
48 lines
2.0 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>net6</TargetFrameworks>
|
|
<ImplicitUsings>disable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<Description>Falcon.SugarApi基础定义</Description>
|
|
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
|
<Version>2.5.0</Version>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<None Include="..\.editorconfig" Link=".editorconfig" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="SqlSugarCore" Version="5.1.4.59" />
|
|
<PackageReference Include="SugarRedis" Version="1.3.0" />
|
|
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="6.4.0" />
|
|
<PackageReference Include="System.Runtime.Caching" Version="6.0.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition=" '$(TargetFramework)' == 'net5' ">
|
|
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="6.0.10" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging" Version="6.0.0" />
|
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.1" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition=" '$(TargetFramework)' == 'net6' ">
|
|
<PackageReference Include="Microsoft.Extensions.Logging" Version="6.0.0" />
|
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.0" />
|
|
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="6.0.4" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition=" '$(TargetFramework)' == 'net7' ">
|
|
<PackageReference Include="Microsoft.Extensions.Logging" Version="6.0.0" />
|
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.0" />
|
|
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="6.0.4" />
|
|
</ItemGroup>
|
|
|
|
<!--<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
|
<Exec Command="call $(SolutionDir)\Script\PushNuget.bat" />
|
|
</Target>-->
|
|
|
|
</Project>
|