KB3006 - WPF Item is missing in VS2022
Symptom
The option to add a WPF Item (i.e. XAML) to a PowerShell Script Project in Visual Studio 2022 is no longer available.
Cause
At some point in August 2023, Microsoft introduced breaking changes into Visual Studio 2022 around WPF handling. As a result, WPF support has been removed from PowerShell Tools for Visual Studio 2022.
Solution
See Workaround.
Workaround
The only known workaround is to downgrade to Visual Studio 2019 (Enterprise/Professional/Community). WPF is confirmed working as of August 21st, 2023 with version 8.0 of the PowerShell Tools for Visual Studio 2019 extension.
Status
As of August 21st, 2023, Ironman Software has been in contact with Microsoft for assistance around the breaking changes. We apologize for this inconvenience.
Related Articles
KB3009 - PowerShell Pro Tools for VS Code "failed to connect"
Scope This article only applies to PowerShell Pro Tools for VS Code on the Windows operating system. If you are using PowerShell Pro Tools for VS Code for Mac or Linux then this article does not apply Problem The PowerShell Pro Tools extension for VS ...
KB3010 - PowerShell Pro Tools for VS Code "command not found"
Scope This article only applies to PowerShell Pro Tools for VS Code on the Windows operating system. If you are using PowerShell Pro Tools for VS Code for Mac or Linux then this article does not apply Problem The PowerShell Pro Tools extension for VS ...
KB3002 - PowerShell Pro Tools for VS Code (2002) stopped working
Scope This is a legacy article which only applies to PowerShell Pro Tools for VS Code version 2022.7.2 and below If your PowerShell Pro Tools for VS Code is at 2022.8.0 or higher then this article does not apply Problem PowerShell Pro Tools extension ...
KB3004 - Visual Studio Code missing "Package EXE" button
Symptom The 'Package EXE' button is missing from Visual Studio Code (with the PowerShell Pro Tools extension1 installed). Scenario #1 You don't have a PowerShell script file (*.ps1) file loaded in VS Code Solution Load a PowerShellscript file (*.ps1) ...
KB3012 - PowerShell Pro Tools feature not working
Scope This article only applies to features of PowerShell Pro Tools for VS Code. Problem A feature (e.g. Refactoring) doesn't work even though you expect it to. Symptoms No action occurs when invoking one of the PowerShell Pro Tools features from the ...