When I open a form (frmNoticeHashtag) in the designer tool (the WYSIWYG tool of VS Community), i have an error regarding Backgroundimage declaration.
So, i have to correct this:
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frmNoticeHashtag))
BackgroundImage = resources.ina_official_blue
to this:
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frmNoticeHashtag))
BackgroundImage = My.Resources.ina_official_blue
I save, and then when i reopen the form in the designer tool the line is automatically corrected to:
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frmNoticeHashtag))
BackgroundImage = resources.ina_official_blue
And the designer failed.
Some additional info: the form frmNoticeHashtag inherits from a custom form class but without any declaration of backgroundimage in it.
What did i miss?