update to .net5.0

This commit is contained in:
2881099
2020-11-12 04:31:51 +08:00
parent 58be3b77f3
commit 2cac4c3094
38 changed files with 641 additions and 578 deletions

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net45;net40</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net45;net40</TargetFrameworks>
<Version>2.0.0-preview1109</Version>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>FreeSql;ncc;YeXiangQin</Authors>
@ -12,41 +12,41 @@
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageTags>FreeSql;ORM;ShenTong;Oscar;神通;神舟通用</PackageTags>
<PackageId>$(AssemblyName)</PackageId>
<PackageIcon>logo.png</PackageIcon>
<PackageIcon>logo.png</PackageIcon>
<Title>$(AssemblyName)</Title>
<IsPackable>true</IsPackable>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
</PropertyGroup>
<ItemGroup>
<None Include="../../logo.png" Pack="true" PackagePath="\" />
<None Include="lib\System.Data.OscarClient.dll" Pack="true" PackagePath="\lib\netstandard2.0\" />
<None Include="lib\System.Data.OscarClient.dll" Pack="true" PackagePath="\lib\net45\" />
<None Include="lib\System.Data.OscarClient.dll" Pack="true" PackagePath="\lib\net40\" />
<None Include="lib\Mono.Security.dll" Pack="true" PackagePath="\lib\netstandard2.0\" />
<None Include="lib\Mono.Security.dll" Pack="true" PackagePath="\lib\net45\" />
<None Include="lib\Mono.Security.dll" Pack="true" PackagePath="\lib\net40\" />
<None Include="lib/**/*.dll">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<None Include="../../logo.png" Pack="true" PackagePath="\" />
<None Include="lib\System.Data.OscarClient.dll" Pack="true" PackagePath="\lib\netstandard2.0\" />
<None Include="lib\System.Data.OscarClient.dll" Pack="true" PackagePath="\lib\net45\" />
<None Include="lib\System.Data.OscarClient.dll" Pack="true" PackagePath="\lib\net40\" />
<None Include="lib\Mono.Security.dll" Pack="true" PackagePath="\lib\netstandard2.0\" />
<None Include="lib\Mono.Security.dll" Pack="true" PackagePath="\lib\net45\" />
<None Include="lib\Mono.Security.dll" Pack="true" PackagePath="\lib\net40\" />
<None Include="lib/**/*.dll">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\FreeSql\FreeSql.csproj" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\FreeSql\FreeSql.csproj" />
</ItemGroup>
<ItemGroup>
<Reference Include="System.Data.OscarClient">
<HintPath>lib\System.Data.OscarClient.dll</HintPath>
<Private>false</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<Reference Include="System.Data.OscarClient">
<HintPath>lib\System.Data.OscarClient.dll</HintPath>
<Private>false</Private>
</Reference>
</ItemGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<DefineConstants>ns20;netstandard20</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net40'">
<DefineConstants>net40</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<DefineConstants>ns20;netstandard20</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net40'">
<DefineConstants>net40</DefineConstants>
</PropertyGroup>
</Project>