-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
90 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
<Project> | ||
|
||
<ItemGroup Condition="'$(NET_6_0)' == true Or '$(NET_7_0)' == true"> | ||
<PackageReference Update="Serilog.AspNetCore" Version="7.*" /> | ||
<ItemGroup> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,13 +5,13 @@ | |
<Import Project="$(MSBuildThisFileDirectory)Directory.Build.initial.targets" Condition="Exists('$(MSBuildThisFileDirectory)Directory.Build.initial.targets')" /> | ||
|
||
<PropertyGroup Condition="'$(LatestDevFrameworkVersion)' == ''"> | ||
<LatestDevFrameworkVersion>9.*-*</LatestDevFrameworkVersion> | ||
<LatestDevFrameworkVersion>10.*-*</LatestDevFrameworkVersion> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(FrameworkVersion)' == ''"> | ||
<FrameworkVersion Condition="'$(NET_3_1)' == true">3.*</FrameworkVersion> | ||
<FrameworkVersion Condition="'$(NET_5_0)' == true">5.*</FrameworkVersion> | ||
<FrameworkVersion Condition="'$(NET_6_0_UP_OR_STD)' == true">8.*</FrameworkVersion> | ||
<FrameworkVersion Condition="'$(NET_5_0_LESS)' == true">7.*</FrameworkVersion> | ||
<FrameworkVersion Condition="'$(NET_6_0)' == true Or '$(NET_7_0)' == true Or '$(NET_8_0)' == true Or '$(NET_STD_2_X)' == true">8.*</FrameworkVersion> | ||
<FrameworkVersion Condition="'$(NET_9_0_UP)' == true">9.*-*</FrameworkVersion> | ||
<FrameworkVersion Condition="'$(FrameworkVersion)' == ''">$(LatestDevFrameworkVersion)</FrameworkVersion> | ||
</PropertyGroup> | ||
|
||
|
@@ -21,20 +21,26 @@ | |
<AspNetFrameworkVersion Condition="'$(NET_6_0)' == true">6.*</AspNetFrameworkVersion> | ||
<AspNetFrameworkVersion Condition="'$(NET_7_0)' == true">7.*</AspNetFrameworkVersion> | ||
<AspNetFrameworkVersion Condition="'$(NET_8_0)' == true">8.*</AspNetFrameworkVersion> | ||
<AspNetFrameworkVersion Condition="'$(NET_9_0)' == true">9.*-*</AspNetFrameworkVersion> | ||
<AspNetFrameworkVersion Condition="'$(AspNetFrameworkVersion)' == ''">$(LatestDevFrameworkVersion)</AspNetFrameworkVersion> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(EFCoreFrameworkVersion)' == ''"> | ||
<EFCoreFrameworkVersion Condition="'$(NET_5_0_LESS_OR_STD)' == true">5.*</EFCoreFrameworkVersion> | ||
<EFCoreFrameworkVersion Condition="'$(NET_6_0)' == true Or '$(NET_7_0)' == true">7.*</EFCoreFrameworkVersion> | ||
<EFCoreFrameworkVersion Condition="'$(NET_8_0)' == true">8.*</EFCoreFrameworkVersion> | ||
<EFCoreFrameworkVersion Condition="'$(NET_9_0)' == true">9.*-*</EFCoreFrameworkVersion> | ||
<EFCoreFrameworkVersion Condition="'$(EFCoreFrameworkVersion)' == ''">$(LatestDevFrameworkVersion)</EFCoreFrameworkVersion> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<NpgsqlVersion Condition="'$(NpgsqlVersion)' == '' And '$(NET_3_1_LESS_OR_STD)' == true">4.*</NpgsqlVersion> | ||
<NpgsqlVersion Condition="'$(NpgsqlVersion)' == '' And '$(NET_9_0_UP)' == true">8.*</NpgsqlVersion> | ||
<NpgsqlVersion Condition="'$(NpgsqlVersion)' == ''">$(EFCoreFrameworkVersion)</NpgsqlVersion> | ||
<SystemTextJsonVersion Condition="'$(SystemTextJsonVersion)' == '' And '$(NET_5_0_LESS)' == true">8.*</SystemTextJsonVersion> | ||
<SystemTextJsonVersion Condition="'$(SystemTextJsonVersion)' == ''">$(FrameworkVersion)</SystemTextJsonVersion> | ||
<SwashbuckleVersion Condition="'$(SwashbuckleVersion)' == '' And '$(NET_5_0_LESS)' == true">6.3.*</SwashbuckleVersion> | ||
<!-- [email protected] reference to [email protected] by mistake --> | ||
<SwashbuckleVersion Condition="'$(SwashbuckleVersion)' == '' And '$(NET_5_0_LESS)' == true">6.3.1</SwashbuckleVersion> | ||
<SwashbuckleVersion Condition="'$(SwashbuckleVersion)' == '' And '$(NET_6_0)' == true">6.4.*</SwashbuckleVersion> | ||
<SwashbuckleVersion Condition="'$(SwashbuckleVersion)' == ''">6.*</SwashbuckleVersion> | ||
</PropertyGroup> | ||
|
@@ -86,8 +92,8 @@ | |
<PackageReference Update="Serilog.Sinks.Console" Version="5.*" /> | ||
<PackageReference Update="Serilog.Sinks.Debug" Version="2.*" /> | ||
<PackageReference Update="Serilog.Sinks.File" Version="5.*" /> | ||
<PackageReference Update="Serilog.Sinks.PeriodicBatching" Version="3.*" /> | ||
<PackageReference Update="Serilog.Sinks.Seq" Version="6.*" /> | ||
<PackageReference Update="Serilog.Sinks.PeriodicBatching" Version="4.*" /> | ||
<PackageReference Update="Serilog.Sinks.Seq" Version="7.*" /> | ||
|
||
<!--misc--> | ||
<PackageReference Update="AutoMapper" Version="12.*" /> | ||
|
@@ -271,8 +277,9 @@ | |
<PackageReference Update="Microsoft.EntityFrameworkCore.SqlServer" Version="$(EFCoreFrameworkVersion)" /> | ||
<PackageReference Update="Microsoft.EntityFrameworkCore.Tools" Version="$(EFCoreFrameworkVersion)" PrivateAssets="All" /> | ||
<PackageReference Update="Microsoft.SqlServer.Server" Version="1.*" /> | ||
<PackageReference Update="Npgsql" Version="$(EFCoreFrameworkVersion)" /> | ||
<PackageReference Update="Npgsql" Version="8.*" Condition="'$(NET_6_0)' == true Or '$(NET_7_0)' == true" /> | ||
|
||
<!-- EFCore.PG and Npgsql must same version https://github.com/npgsql/efcore.pg/issues/3011 --> | ||
<PackageReference Update="Npgsql" Version="$(NpgsqlVersion)" /> | ||
<PackageReference Update="Npgsql.EntityFrameworkCore.PostgreSQL" Version="$(EFCoreFrameworkVersion)" /> | ||
<PackageReference Update="EFCore.NamingConventions" Version="$(EFCoreFrameworkVersion)" /> | ||
|
||
|
@@ -387,7 +394,7 @@ | |
|
||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(NET_5_0_LESS)' == true"> | ||
<ItemGroup Condition="'$(NET_5_0_LESS_OR_STD)' == true"> | ||
<PackageReference Update="Serilog" Version="3.0.*" /> | ||
<PackageReference Update="Serilog.AspNetCore" Version="7.*" /> | ||
<PackageReference Update="Serilog.Extensions.Hosting" Version="7.*" /> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters