mirror of
https://github.com/leechristensen/UnmanagedPowerShell
synced 2026-06-08 15:26:18 +00:00
Removed loading the assembly from disk
This commit is contained in:
@@ -213,7 +213,7 @@ int _tmain(int argc, _TCHAR* argv[])
|
||||
|
||||
// Load the .NET assembly.
|
||||
// (Option 1) Load it from disk - usefully when debugging the PowerShellRunner app (you'll have to copy the DLL into the same directory as the exe)
|
||||
hr = spDefaultAppDomain->Load_2(bstrAssemblyName, &spAssembly);
|
||||
// hr = spDefaultAppDomain->Load_2(bstrAssemblyName, &spAssembly);
|
||||
|
||||
// (Option 2) Load the assembly from memory
|
||||
SAFEARRAYBOUND bounds[1];
|
||||
|
||||
Reference in New Issue
Block a user