mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Fix it for 'dotnet build' scenario
This commit is contained in:
1 parent
66dcd00d93
commit
ca28391b38
3 files changed
+28
-4
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user