Hi,@Sean Page. I reproduced your problem. It is a bug.
When click <New Event Handler >
of Checked code IntelliSense can generate event in Microsoft Visual Studio Community 2019 Version 16.11.27.
When click <New Event Handler >
of Checked code IntelliSense , get error <Failed to create Event Handler>
in Microsoft Visual Studio Professional 2022
Version 17.6.4 /Microsoft Visual Studio Community 2022 (64-bit) - Current
It is recommended that you report questions on Developer Community.
Before fixing the issue, you could add events manually. Or create a new WPF Class Library project (.NET Framework 4.8) to house your visual elements.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.