fix build
This commit is contained in:
parent
64e9cba14d
commit
fc54ffc96e
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue