diff options
Diffstat (limited to 'csharp/src/Google.Protobuf.Test/Program.cs')
-rwxr-xr-x[-rw-r--r--] | csharp/src/Google.Protobuf.Test/Program.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/csharp/src/Google.Protobuf.Test/Program.cs b/csharp/src/Google.Protobuf.Test/Program.cs index 6e4daac9..954c02b5 100644..100755 --- a/csharp/src/Google.Protobuf.Test/Program.cs +++ b/csharp/src/Google.Protobuf.Test/Program.cs @@ -38,7 +38,11 @@ namespace Google.Protobuf.Test { public static int Main(string[] args) { - return new AutoRun(typeof(Program).GetTypeInfo().Assembly).Execute(args); + #if NET35 + return new AutoRun(typeof(Program).Assembly).Execute(args);
+ #else + return new AutoRun(typeof(Program).GetTypeInfo().Assembly).Execute(args); + #endif } } }
\ No newline at end of file |