Skip to content

Commit 7c370fe

Browse files
committed
chore: 调整兼容类库版本
1 parent bb6f028 commit 7c370fe

File tree

3 files changed

+23
-38
lines changed

3 files changed

+23
-38
lines changed

asset/props/sourcelink.env.props

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
<Project>
22
<ItemGroup>
3-
<PackageReference Include="DotNetCore.SourceLink.Environment">
4-
<Version Condition=" '$(TargetFramework)' == 'net48' ">2.2.0</Version>
5-
<Version Condition=" '$(TargetFramework)' == 'net472' ">2.2.0</Version>
6-
<Version Condition=" '$(TargetFramework)' == 'net462' ">2.2.0</Version>
7-
<Version Condition=" '$(TargetFramework)' == 'net452' ">2.2.0</Version>
8-
<Version Condition=" '$(TargetFramework)' == 'netstandard2.0' ">2.2.0</Version>
9-
<Version Condition=" '$(TargetFramework)' == 'netstandard2.1' ">2.2.0</Version>
10-
<Version Condition=" '$(TargetFramework)' == 'netcoreapp2.1' ">2.2.0</Version>
11-
<Version Condition=" '$(TargetFramework)' == 'netcoreapp2.2' ">2.2.0</Version>
12-
<Version Condition=" '$(TargetFramework)' == 'netcoreapp3.1' ">3.1.0</Version>
13-
<Version Condition=" '$(TargetFramework)' == 'net5.0' ">3.1.0</Version>
14-
<Version Condition=" '$(TargetFramework)' == 'net6.0' ">3.1.0</Version>
15-
<Version Condition=" '$(TargetFramework)' == 'net7.0' ">3.1.0</Version>
16-
</PackageReference>
3+
<PackageReference Include="DotNetCore.SourceLink.Environment" Version="3.2.0" />
174
</ItemGroup>
185
</Project>

common.props

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
<Project>
2-
<PropertyGroup>
3-
<TargetFrameworks>net7.0;net6.0;net5.0;netcoreapp3.1;netstandard2.0;netstandard2.1;</TargetFrameworks>
4-
</PropertyGroup>
2+
<PropertyGroup>
3+
<TargetFrameworks>net7.0;net6.0;netcoreapp3.1;netstandard2.0;netstandard2.1;</TargetFrameworks>
4+
</PropertyGroup>
55

6-
<PropertyGroup>
7-
<RootNamespace/>
8-
<LangVersion>latest</LangVersion>
6+
<PropertyGroup>
7+
<RootNamespace/>
8+
<LangVersion>latest</LangVersion>
99
<NoWarn Condition=" '$(Configuration)' == 'Debug' ">$(NoWarn);CS1591;NETSDK1138</NoWarn>
10-
<NoWarn Condition=" '$(Configuration)' == 'Release' ">$(NoWarn);CS1591;NETSDK1138</NoWarn>
11-
</PropertyGroup>
10+
<NoWarn Condition=" '$(Configuration)' == 'Release' ">$(NoWarn);CS1591;NETSDK1138</NoWarn>
11+
</PropertyGroup>
1212

13-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
14-
<OutputPath>$(MSBuildThisFileDirectory)/output/debug/</OutputPath>
15-
</PropertyGroup>
13+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
14+
<OutputPath>$(MSBuildThisFileDirectory)/output/debug/</OutputPath>
15+
</PropertyGroup>
1616

17-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
18-
<OutputPath>$(MSBuildThisFileDirectory)/output/release/</OutputPath>
19-
</PropertyGroup>
17+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
18+
<OutputPath>$(MSBuildThisFileDirectory)/output/release/</OutputPath>
19+
</PropertyGroup>
2020

21-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
22-
<DocumentationFile>$(AssemblyName).xml</DocumentationFile>
23-
</PropertyGroup>
21+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
22+
<DocumentationFile>$(AssemblyName).xml</DocumentationFile>
23+
</PropertyGroup>
2424

25-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26-
<DocumentationFile>$(AssemblyName).xml</DocumentationFile>
27-
</PropertyGroup>
25+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26+
<DocumentationFile>$(AssemblyName).xml</DocumentationFile>
27+
</PropertyGroup>
2828

2929
<ItemGroup>
3030
<!--移除Xml、DotSettings-->
@@ -38,7 +38,7 @@
3838

3939
<Import Project="asset/props/package.props"/>
4040

41-
<Import Project="asset/props/misc.props"/>
41+
<Import Project="asset/props/misc.props"/>
4242

43-
<Import Project="./version.props"/>
43+
<Import Project="./version.props"/>
4444
</Project>

src/Bing.EasyPrint/Bing.EasyPrint.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
<ItemGroup>
1818
<PackageReference Include="SixLabors.ImageSharp" Version="2.1.4" />
1919
<PackageReference Include="SixLabors.ImageSharp.Drawing" Version="1.0.0-beta15" />
20-
<!--<PackageReference Include="System.Drawing.Common" Version="4.7.0" />-->
21-
2220
</ItemGroup>
2321

2422
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">

0 commit comments

Comments
 (0)