From fc54ffc96e428c8ec609ccc8267183ba72c842f9 Mon Sep 17 00:00:00 2001 From: Andrew Stanton-Nurse Date: Thu, 20 Apr 2017 16:06:15 -0700 Subject: [PATCH] fix build --- .../Helpers.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/Microsoft.AspNetCore.WebSockets.Internal.ConformanceTest/Helpers.cs b/test/Microsoft.AspNetCore.WebSockets.Internal.ConformanceTest/Helpers.cs index 2a7d1047e6..976d9b11e0 100644 --- a/test/Microsoft.AspNetCore.WebSockets.Internal.ConformanceTest/Helpers.cs +++ b/test/Microsoft.AspNetCore.WebSockets.Internal.ConformanceTest/Helpers.cs @@ -1,9 +1,8 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.IO; -using Microsoft.Extensions.PlatformAbstractions; namespace Microsoft.AspNetCore.WebSockets.Internal.ConformanceTest { @@ -11,7 +10,7 @@ namespace Microsoft.AspNetCore.WebSockets.Internal.ConformanceTest { public static string GetApplicationPath(string projectName) { - var applicationBasePath = PlatformServices.Default.Application.ApplicationBasePath; + var applicationBasePath = AppContext.BaseDirectory; var directoryInfo = new DirectoryInfo(applicationBasePath); do