PowerShell / PowerShell/PowerShellEditorServices
[Bug] None of the string overloads of `EditorExtensionServiceProvider.GetService()` work on .NET.
@andyleejordan is already working on this.
Since Jun 26, 2026.
- Dominant language
- C#
- Stars
- 767
- Forks
- 266
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 1
Description
None [^1] of the string overloads of EditorExtensionServiceProvider.GetService() work on .NET.
Reason: You cannot use Assembly.GetType(string) with an assembly-qualified name.
Affected:
https://github.com/PowerShell/PowerShellEditorServices/blob/e124c135c6bcb95e94ca1ea7bc4ca032249e4572/src/PowerShellEditorServices/Extensions/Api/EditorExtensionServiceProvider.cs#L85 https://github.com/PowerShell/PowerShellEditorServices/blob/e124c135c6bcb95e94ca1ea7bc4ca032249e4572/src/PowerShellEditorServices/Extensions/Api/EditorExtensionServiceProvider.cs#L97 https://github.com/PowerShell/PowerShellEditorServices/blob/e124c135c6bcb95e94ca1ea7bc4ca032249e4572/src/PowerShellEditorServices/Extensions/Api/EditorExtensionServiceProvider.cs#L112
I can submit a PR if that's desirable.
[^1]: Workaround for services in the Microsoft.PowerShell.EditorServices assembly: Pass a regular FullName (without assembly name) to GetServiceByAssemblyQualifiedName(string asmQualifiedTypeName).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.