Fix it for 'dotnet build' scenario

This commit is contained in:
Dongbo Wang authored and Andrew Schwartzmeyer committed 2016-06-28 18:31:38 -07:00
1 parent 66dcd00d93
commit ca28391b38
3 files changed
+28 -4

No files matched your search

+1
View File
@@ -25,6 +25,7 @@ namespace Microsoft.PowerShell
// Open PowerShell has to set the ALC here, since we don't own the native host
string appBase = System.IO.Path.GetDirectoryName(typeof(ManagedPSEntry).GetTypeInfo().Assembly.Location);
Console.WriteLine(" == APPBASE == {0}", appBase);
//Console.Read();
return (int)PowerShellAssemblyLoadContextInitializer.
InitializeAndCallEntryMethod(
appBase,