Visual Studio 2022 error cs0400 when I add an image to a button in toolstrip

Viewed 30

Added a second form, added toolstrip to it, added a button to it. Selected an image from the resource file in properties. The project stopped running with the following error:

"Error CS0400 The type or namespace name 'Properties' could not be found in the global namespace (perhaps missing an assembly reference?) proxysForm.Designer.cs"

this.toolStripButton1.Image = global::Properties.Resources.Run;
0 Answers
Related