diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2016-07-30 03:59:16 +0800 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2016-07-31 03:27:54 +0800 |
commit | 1c0f30c4a8fc1f2d9bd8dd1702ee4563060f3637 (patch) | |
tree | e2d316c0a9252b3e19bd452f03c6945c00f12f6a /src/csharp/Grpc.Examples.Tests | |
parent | 3fc8c8a9ff0402e3aa699c8ae4f9acf893c61fc9 (diff) |
fix conditional compilation for netcoreapp1.0 projects
Diffstat (limited to 'src/csharp/Grpc.Examples.Tests')
-rw-r--r-- | src/csharp/Grpc.Examples.Tests/NUnitMain.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csharp/Grpc.Examples.Tests/NUnitMain.cs b/src/csharp/Grpc.Examples.Tests/NUnitMain.cs index 1a522cab93..7ba1074d44 100644 --- a/src/csharp/Grpc.Examples.Tests/NUnitMain.cs +++ b/src/csharp/Grpc.Examples.Tests/NUnitMain.cs @@ -49,7 +49,7 @@ namespace Grpc.Examples.Tests { // Make logger immune to NUnit capturing stdout and stderr to workaround https://github.com/nunit/nunit/issues/1406. GrpcEnvironment.SetLogger(new TextWriterLogger(Console.Error)); -#if NETSTANDARD1_5 +#if NETCOREAPP1_0 return new AutoRun(typeof(NUnitMain).GetTypeInfo().Assembly).Execute(args, new ExtendedTextWrapper(Console.Out), Console.In); #else return new AutoRun().Execute(args); |