No code-behind file since update

Tool: Visual Studio, Visual Studio Code, PSScriptPad, PowerShell Module
Version: 2024.7.0

Since i updated the extension in Visual studio 19 my wpf powershell project no longer have the Code-Behind file. I have created new projects to test the same result. I even installed VS19 on another machine and i get the same. I presume that something in the extension may have changed something. Can anyone advise if there is a fix? This happeneded before and i couldn’t find anything then one day it was working again. I presume after the extension was updated.

Thanks