'InitializeComponent' does not exist in the current context (hint: it does)
Hi,
I'm working on a project using WPF. I keep receiving this weird error saying
1, Creating a new project
Upon creating the project, the
I am not sure whether this is a Intellisense bug, or anything. I've used Winforms before and I never had this issue. I searched online and tried different solutions but none of them offered a permament fix.
I'm working on a project using WPF. I keep receiving this weird error saying
InitializeComponent doesn't exist. This is a constant error that is reproduced by:1, Creating a new project
Upon creating the project, the
InitializeComponent does show up as a valid method- Closing and restarting Visual Studios
When I reopen my project, I receive this error.
bin and obj folders also fixes it (though the next time I restart visual studios the error shows up again)I am not sure whether this is a Intellisense bug, or anything. I've used Winforms before and I never had this issue. I searched online and tried different solutions but none of them offered a permament fix.