Skip to content

Commit

Permalink
Supporting .NET Standard 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tallesl committed Sep 20, 2020
1 parent 37ddb2c commit b361bfb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion FluentScheduler/FluentScheduler.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<PackageProjectUrl>/~https://github.com/fluentscheduler/FluentScheduler</PackageProjectUrl>
<PackageTags>background cron job schedule task</PackageTags>
<RepositoryUrl>/~https://github.com/fluentscheduler/FluentScheduler</RepositoryUrl>
<TargetFramework>netstandard2.1</TargetFramework>
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
<Version>5.5.0</Version>
</PropertyGroup>

Expand Down
4 changes: 3 additions & 1 deletion FluentScheduler/IAsyncJob.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
namespace FluentScheduler
#if NETSTANDARD2_1
namespace FluentScheduler
{
using System.Threading.Tasks;

Expand All @@ -22,3 +23,4 @@ void IJob.Execute()
}
}
}
#endif

0 comments on commit b361bfb

Please sign in to comment.