Skip to content

Commit 9ad1f26

Browse files
authored
Merge pull request #25 from dotnet-campus/t/lindexi/HawfemwajerwhaWolalllajerejaw
尝试修复构建
2 parents ccc8578 + 8211250 commit 9ad1f26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AsyncWorkerCollection/IAsyncDisposable.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
namespace dotnetCampus.Threading
1212
{
1313
// 尽管设置 csproj 不引用这个文件,但是在源代码引用的时候,依然会添加这个文件,因此需要判断当前如果是 net45 就忽略这个代码
14-
#if NET45
14+
#if NET45 || NETSTANDARD2_0
1515
// 这个接口在 .NET Framework 4.5 没有
1616
interface IAsyncDisposable
1717
{

0 commit comments

Comments
 (0)