diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2018-11-27 18:07:33 +0100 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2018-11-30 13:04:33 +0100 |
commit | 2e54a2bc363294d879d435c9b22f02808d371875 (patch) | |
tree | 242cfb2284ee199ca00b60c90cd005ea2cafd8a8 /src/csharp/Grpc.IntegrationTesting | |
parent | ba6b1c215c7249205496d73fcbba94ef111baa29 (diff) |
update compiler defines
Diffstat (limited to 'src/csharp/Grpc.IntegrationTesting')
-rw-r--r-- | src/csharp/Grpc.IntegrationTesting/NUnitMain.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csharp/Grpc.IntegrationTesting/NUnitMain.cs b/src/csharp/Grpc.IntegrationTesting/NUnitMain.cs index 9d24762e0a..6265953622 100644 --- a/src/csharp/Grpc.IntegrationTesting/NUnitMain.cs +++ b/src/csharp/Grpc.IntegrationTesting/NUnitMain.cs @@ -34,7 +34,7 @@ namespace Grpc.IntegrationTesting { // Make logger immune to NUnit capturing stdout and stderr to workaround https://github.com/nunit/nunit/issues/1406. GrpcEnvironment.SetLogger(new ConsoleLogger()); -#if NETCOREAPP1_0 +#if NETCOREAPP1_1 || NETCOREAPP2_1 return new AutoRun(typeof(NUnitMain).GetTypeInfo().Assembly).Execute(args, new ExtendedTextWrapper(Console.Out), Console.In); #else return new AutoRun().Execute(args); |