✅ InitializeComponent not being found, but `dotnet run` works?
Do I need something for the .NET/Omnisharp/whatever to recognize WPF stuff?
7 Replies
can you show the class?
quite simple
are you on VS or VSCode?
vsc
vs is heavy , on my pc
since you have the red Squiggly Line and the error message next to it, you probably already have Omnisharp
I'm not sure if the C# ext for VSCode understands XAML codegen
probably doesn't, so even though the WPF SDK emits that method at compile time, the IDE tooling doesn't know that
aaaaaaaaahhhhhh
i'll have to use VS then
update: moved to avalonia, no more error 🦅🦅🦅🦅