[GH-ISSUE #132] Set-OutlookSignatures does not work on PowerShell 7.5 - v4.17.0 will #58

Closed
opened 2026-02-27 20:31:03 +03:00 by kerem · 2 comments
Owner

Originally created by @GruberMarkus on GitHub (Jan 29, 2025).
Original GitHub issue: https://github.com/Set-OutlookSignatures/Set-OutlookSignatures/issues/132

Issue happens in the latest release

  • I confirm that the issue happens in the latest release of Set-OutlookSignatures

Previously solved issues and documentation

  • I have searched through issues, discussions and documentation, but have not found an answer to my issue

Code of Conduct

  • I agree to follow this project's Code of Conduct

What happened?

When running PowerShell 7.5.0, you receive the following error message:

Unhandled exception. System.BadImageFormatException: Enclosing type(s) not found for type 'NestedType' in assembly [...]

The reason for this is that PowerShell 7.5.0 is based on .Net 9, which comes with a breaking change that has not been made public because it was meant to only have an effect on the internal code of .Net 9. Unfortunately, the change has an effect on multiple tools which are an integral part of Set-OutlookSignatures' toolchain.

We are working on a solution. There is currently no release date we can share. It is very likely that the fix will not be ready soon enough to be included in the upcoming release v4.17.0, which will probably be published in February.

In the meantime, you can use the following workarounds:

  • On Windows, use Windows PowerShell (PowerShell 5.x) or a release of PowerShell 7 below version 7.5.0.
  • On Linux and macOS, use a release of PowerShell 7 below version 7.5.0.

PowerShell 6 is not supported by Set-OutlookSignatures and never has been.

We will update this issue as soon as we have news to share.

Originally created by @GruberMarkus on GitHub (Jan 29, 2025). Original GitHub issue: https://github.com/Set-OutlookSignatures/Set-OutlookSignatures/issues/132 ### Issue happens in the latest release - [x] I confirm that the issue happens in the latest release of Set-OutlookSignatures ### Previously solved issues and documentation - [x] I have searched through issues, discussions and documentation, but have not found an answer to my issue ### Code of Conduct - [x] I agree to follow this project's Code of Conduct ### What happened? When running PowerShell 7.5.0, you receive the following error message: ``` Unhandled exception. System.BadImageFormatException: Enclosing type(s) not found for type 'NestedType' in assembly [...] ``` The reason for this is that PowerShell 7.5.0 is based on .Net 9, which comes with a breaking change that has not been made public because it was meant to only have an effect on the internal code of .Net 9. Unfortunately, the change has an effect on multiple tools which are an integral part of Set-OutlookSignatures' toolchain. We are working on a solution. There is currently no release date we can share. It is very likely that the fix will not be ready soon enough to be included in the upcoming release v4.17.0, which will probably be published in February. In the meantime, you can use the following workarounds: - On Windows, use Windows PowerShell (PowerShell 5.x) or a release of PowerShell 7 below version 7.5.0. - On Linux and macOS, use a release of PowerShell 7 below version 7.5.0. PowerShell 6 is not supported by Set-OutlookSignatures and never has been. We will update this issue as soon as we have news to share.
kerem closed this issue 2026-02-27 20:31:03 +03:00
Author
Owner

@GruberMarkus commented on GitHub (Feb 3, 2025):

Good news: A solution for the toolchain components has been found. The upcoming release v4.17.0 will work in PowerShell 7.5.0, which is based on .Net 9.

v4.17.0 will be released in February, maybe even in the first half of February.

<!-- gh-comment-id:2632232154 --> @GruberMarkus commented on GitHub (Feb 3, 2025): Good news: A solution for the toolchain components has been found. The upcoming release v4.17.0 will work in PowerShell 7.5.0, which is based on .Net 9. v4.17.0 will be released in February, maybe even in the first half of February.
Author
Owner

@GruberMarkus commented on GitHub (Feb 14, 2025):

Closing ticket as v4.17.0 with full support for .Net 9 and PowerShell 7.5.0 has been released: https://github.com/Set-OutlookSignatures/Set-OutlookSignatures/releases

<!-- gh-comment-id:2660079417 --> @GruberMarkus commented on GitHub (Feb 14, 2025): Closing ticket as v4.17.0 with full support for .Net 9 and PowerShell 7.5.0 has been released: https://github.com/Set-OutlookSignatures/Set-OutlookSignatures/releases
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Set-OutlookSignatures-Set-OutlookSignatures#58
No description provided.