Skip to content

Add WSManPluginWrapper to AssemblyLoadContext - #1509

Merged
Dongbo Wang (daxian-dbw) merged 1 commit into
masterfrom
andschwa/fix-alc-for-unix
Jul 25, 2016
Merged

Dongbo Wang (daxian-dbw) merged 1 commit into
masterfrom
andschwa/fix-alc-for-unix

Conversation

@andyleejordan

Copy link
Copy Markdown
Member

This function is required for PSRP on Linux, as we need to wrap the call into WSManPluginManagedEntryWrapper.InitPlugin such that it is invoked via reflection from an assembly loaded with our custom context.

This fixes PSRP from Linux to Windows.

/cc Dongbo Wang (@daxian-dbw) Paul Allen (@paulcallen)

This function is required for PSRP on Linux, as we need to wrap the call
into WSManPluginManagedEntryWrapper.InitPlugin such that it is invoked
via reflection from an assembly loaded with our custom context.
@daxian-dbw

Copy link
Copy Markdown
Member

:shipit:

@daxian-dbw
Dongbo Wang (daxian-dbw) merged commit a576121 into master Jul 25, 2016
@daxian-dbw
Dongbo Wang (daxian-dbw) deleted the andschwa/fix-alc-for-unix branch July 25, 2016 23:32
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
…or-unix

Add WSManPluginWrapper to AssemblyLoadContext
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants