-
-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Multi-target against .NET 6 and .NET 8
- Loading branch information
Showing
62 changed files
with
266 additions
and
107 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
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<packageSources> | ||
<!-- Temporary workaround for bug in Npgsql 8 RC2 at https://github.com/npgsql/npgsql/issues/5326 --> | ||
<add key="Npgsql-nightly" value="https://www.myget.org/F/npgsql-vnext/api/v3/index.json" /> | ||
|
||
<!-- Temporary workaround until final 8.0 release of Pomelo.EntityFrameworkCore.MySql is available. --> | ||
<add key="pomelo-nightly" | ||
value="https://pkgs.dev.azure.com/pomelo-efcore/Pomelo.EntityFrameworkCore.MySql/_packaging/pomelo-efcore-public/nuget/v3/index.json" /> | ||
|
||
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" /> | ||
</packageSources> | ||
</configuration> |
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
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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<!-- Published dependencies (only update on major version change) --> | ||
<CodeAnalysisFrozenVersion>4.1.0</CodeAnalysisFrozenVersion> | ||
<DemystifierFrozenVersion>0.4.1</DemystifierFrozenVersion> | ||
<HumanizerFrozenVersion>2.14.1</HumanizerFrozenVersion> | ||
|
||
<!-- Non-published dependencies (these are safe to update, won't cause a breaking change) --> | ||
<BenchmarkDotNetVersion>0.13.*</BenchmarkDotNetVersion> | ||
<BogusVersion>34.0.*</BogusVersion> | ||
<CSharpGuidelinesAnalyzerVersion>3.8.*</CSharpGuidelinesAnalyzerVersion> | ||
<CodeAnalysisVersion>4.7.*</CodeAnalysisVersion> | ||
<CoverletVersion>6.0.*</CoverletVersion> | ||
<DapperVersion>2.1.*</DapperVersion> | ||
<DateOnlyTimeOnlyVersion>2.1.*</DateOnlyTimeOnlyVersion> | ||
<FluentAssertionsVersion>6.12.*</FluentAssertionsVersion> | ||
<GitHubActionsTestLoggerVersion>2.3.*</GitHubActionsTestLoggerVersion> | ||
<InheritDocVersion>1.3.*</InheritDocVersion> | ||
<JetBrainsAnnotationsVersion>2023.2.*</JetBrainsAnnotationsVersion> | ||
<SourceLinkVersion>1.1.*</SourceLinkVersion> | ||
<TestSdkVersion>17.8.*</TestSdkVersion> | ||
<XunitVersion>2.5.*</XunitVersion> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(TargetFramework)' == 'net8.0'"> | ||
<!-- Published dependencies (only update on major version change) --> | ||
<EntityFrameworkCoreFrozenVersion>8.0.0-*</EntityFrameworkCoreFrozenVersion> | ||
|
||
<!-- Non-published dependencies (these are safe to update, won't cause a breaking change) --> | ||
<AspNetCoreVersion>8.0.0-*</AspNetCoreVersion> | ||
<EntityFrameworkCoreVersion>8.0.0-*</EntityFrameworkCoreVersion> | ||
<NpgsqlVersion>8.0.0-*</NpgsqlVersion> | ||
<SystemTextJsonVersion>$(AspNetCoreVersion)</SystemTextJsonVersion> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0'"> | ||
<!-- Published dependencies (only update on major version change) --> | ||
<EntityFrameworkCoreFrozenVersion>6.0.0</EntityFrameworkCoreFrozenVersion> | ||
|
||
<!-- Non-published dependencies (these are safe to update, won't cause a breaking change) --> | ||
<AspNetCoreVersion>6.0.*</AspNetCoreVersion> | ||
<EntityFrameworkCoreVersion>7.0.*</EntityFrameworkCoreVersion> | ||
<NpgsqlVersion>7.0.*</NpgsqlVersion> | ||
<SystemTextJsonVersion>7.0.*</SystemTextJsonVersion> | ||
</PropertyGroup> | ||
</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
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
namespace DapperExample; | ||
|
||
public interface IClock | ||
{ | ||
DateTimeOffset UtcNow { get; } | ||
} |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
namespace DapperExample; | ||
|
||
public sealed class SystemClock : IClock | ||
{ | ||
public DateTimeOffset UtcNow => DateTimeOffset.UtcNow; | ||
} |
4 changes: 3 additions & 1 deletion
4
src/Examples/DatabasePerTenantExample/DatabasePerTenantExample.csproj
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
Oops, something went wrong.