react to removal of PlatformAbstractions (#116)

This commit is contained in:
Andrew Stanton-Nurse 2017-04-20 11:08:29 -07:00 committed by GitHub
parent d938fef626
commit 6c8359ca9c
1 changed files with 1 additions and 2 deletions

View File

@ -3,7 +3,6 @@
using System;
using System.IO;
using Microsoft.Extensions.PlatformAbstractions;
namespace Microsoft.AspNetCore.Mvc.Razor.ViewCompilation
{
@ -20,7 +19,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.ViewCompilation
private static string GetSolutionDirectory()
{
var applicationBasePath = PlatformServices.Default.Application.ApplicationBasePath;
var applicationBasePath = AppContext.BaseDirectory;
var directoryInfo = new DirectoryInfo(applicationBasePath);
do