From fb71df9f0b5a8457255e35cd4cd19c46396e97f1 Mon Sep 17 00:00:00 2001 From: Jon Skeet Date: Wed, 4 Jan 2017 16:40:07 +0000 Subject: Add ByteString.FromStream and ByteString.FromStreamAsync in C# Fixes #2088. We now have separate tests for netcoreapp and net45 to test the two branches here. (netstandard10 doesn't have MemoryStream.GetBuffer) Although most of this library doesn't have any async functionality, this feels like a natural place to locally add it. --- csharp/src/Google.Protobuf.Test/project.json | 1 + 1 file changed, 1 insertion(+) (limited to 'csharp/src/Google.Protobuf.Test/project.json') diff --git a/csharp/src/Google.Protobuf.Test/project.json b/csharp/src/Google.Protobuf.Test/project.json index 3a73bf7a..9f739f90 100644 --- a/csharp/src/Google.Protobuf.Test/project.json +++ b/csharp/src/Google.Protobuf.Test/project.json @@ -27,6 +27,7 @@ "testRunner": "nunit", "frameworks": { + "net451": {}, "netcoreapp1.0": { "imports" : [ "dnxcore50", "netcoreapp1.0", "portable-net45+win8" ], "buildOptions": { -- cgit v1.2.3