Explorar o código

Merge pull request #937 from dotnet/fix-define

Add .NET Standard 2.0 defines
Oren Novotny %!s(int64=6) %!d(string=hai) anos
pai
achega
d71e2b29d8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Ix.NET/Source/Directory.build.targets

+ 1 - 1
Ix.NET/Source/Directory.build.targets

@@ -13,7 +13,7 @@
   <PropertyGroup Condition="'$(TargetFramework)' == 'net46' or '$(TargetFramework)' == 'net461'">
     <DefineConstants>$(DefineConstants);USE_ASYNC_ITERATOR</DefineConstants>
   </PropertyGroup>
-  <PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0' or '$(TargetFramework)' == 'netstandard2.1'">
+  <PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0' or '$(TargetFramework)' == 'netstandard2.1' or '$(TargetFramework)' == 'netstandard2.0'">
     <DefineConstants>$(DefineConstants);USE_ASYNC_ITERATOR;HAS_ASYNCENUMERABLE;HAS_ASYNCDISPOSABLE;BCL_HAS_CONFIGUREAWAIT;HAS_VALUETUPLE</DefineConstants>
   </PropertyGroup>