Been working fine using visual studio 19 with a WPF powershell project, until the other day whenever i go to event handelers for any button i get the below error,
“The document item has no code-behind file. Add a code-behind file and class definition before adding event handlers”
Hoping someone can help and point me in the right direction. I updated Visual Studio the day before this happened. Now even when creating a new project i get the same error.
Thanks