diff --git a/samples/EchoApp/project.json b/samples/EchoApp/project.json index 990775d3f8..25ffd7b862 100644 --- a/samples/EchoApp/project.json +++ b/samples/EchoApp/project.json @@ -15,7 +15,7 @@ "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-*" }, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "imports": [ "dotnet5.6", "portable-net45+win8" diff --git a/test/AutobahnTestApp/project.json b/test/AutobahnTestApp/project.json index b79080e5df..5dbc7b22f5 100644 --- a/test/AutobahnTestApp/project.json +++ b/test/AutobahnTestApp/project.json @@ -17,7 +17,7 @@ "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-*" }, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "imports": [ "dotnet5.6", "portable-net45+win8" diff --git a/test/Microsoft.AspNetCore.WebSockets.ConformanceTest/project.json b/test/Microsoft.AspNetCore.WebSockets.ConformanceTest/project.json index 25933baef1..526a646659 100644 --- a/test/Microsoft.AspNetCore.WebSockets.ConformanceTest/project.json +++ b/test/Microsoft.AspNetCore.WebSockets.ConformanceTest/project.json @@ -11,7 +11,7 @@ }, "testRunner": "xunit", "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "dependencies": { "Microsoft.NETCore.App": { "version": "1.1.0-*", diff --git a/test/Microsoft.AspNetCore.WebSockets.Test/BufferStream.cs b/test/Microsoft.AspNetCore.WebSockets.Test/BufferStream.cs index acbaa723cc..9b9a82f250 100644 --- a/test/Microsoft.AspNetCore.WebSockets.Test/BufferStream.cs +++ b/test/Microsoft.AspNetCore.WebSockets.Test/BufferStream.cs @@ -1,4 +1,4 @@ -// Copyright (c) .NET Foundation. All rights reserved. See License.txt in the project root for license information. +// Copyright (c) .NET Foundation. All rights reserved. See License.txt in the project root for license information. using System; using System.Collections.Concurrent; @@ -152,7 +152,7 @@ namespace Microsoft.AspNetCore.WebSockets.Test } } -#if !NETCOREAPP1_0 +#if !NETCOREAPP1_1 public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state) { // TODO: This option doesn't preserve the state object. @@ -245,7 +245,7 @@ namespace Microsoft.AspNetCore.WebSockets.Test } } -#if !NETCOREAPP1_0 +#if !NETCOREAPP1_1 public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state) { Write(buffer, offset, count); diff --git a/test/Microsoft.AspNetCore.WebSockets.Test/DuplexStream.cs b/test/Microsoft.AspNetCore.WebSockets.Test/DuplexStream.cs index 0c3c4e0877..11f65759cc 100644 --- a/test/Microsoft.AspNetCore.WebSockets.Test/DuplexStream.cs +++ b/test/Microsoft.AspNetCore.WebSockets.Test/DuplexStream.cs @@ -1,4 +1,4 @@ -// Copyright (c) .NET Foundation. All rights reserved. See License.txt in the project root for license information. +// Copyright (c) .NET Foundation. All rights reserved. See License.txt in the project root for license information. using System; using System.IO; @@ -94,7 +94,7 @@ namespace Microsoft.AspNetCore.WebSockets.Test return ReadStream.Read(buffer, offset, count); } -#if !NETCOREAPP1_0 +#if !NETCOREAPP1_1 public override int ReadByte() { return ReadStream.ReadByte(); @@ -130,7 +130,7 @@ namespace Microsoft.AspNetCore.WebSockets.Test WriteStream.Write(buffer, offset, count); } -#if !NETCOREAPP1_0 +#if !NETCOREAPP1_1 public override void WriteByte(byte value) { WriteStream.WriteByte(value); diff --git a/test/Microsoft.AspNetCore.WebSockets.Test/project.json b/test/Microsoft.AspNetCore.WebSockets.Test/project.json index ea4b86b9a8..900cfd618d 100644 --- a/test/Microsoft.AspNetCore.WebSockets.Test/project.json +++ b/test/Microsoft.AspNetCore.WebSockets.Test/project.json @@ -9,7 +9,7 @@ "testRunner": "xunit", "frameworks": { "net451": {}, - "netcoreapp1.0": { + "netcoreapp1.1": { "dependencies": { "Microsoft.NETCore.App": { "version": "1.1.0-*",