0

Visual C# 2008 is giving an error when I attempt to change the anchor for multiple controls simultaneously. This error does not occur when done individually.

Property value is not valid.

Could not find file 'C:\Users\user\Documents\Visual Studio 2008\Projects\test\test\Resources\WelcomeBorder.png'.

The image was previously used as a background image for a panel (not one of the elements selected, though they're in it), but all references to the image have been deleted. A search through the entire solution for the string "WelcomeBorder" returned no finds. The solution has been repeatedly rebuilt since.

The file has been deleted.

Eric
  • 6,364
  • 1
  • 32
  • 49
Nona Urbiz
  • 4,873
  • 16
  • 57
  • 84

2 Answers2

1

I encountered this same error when I manually deleted an image from the Resources directory. I had to put back the images back in the directory that it was complaining about and then right click Reesources.resx to delete them the proper way.

Der Wolf
  • 1,171
  • 9
  • 11
0

Check if the file reference still exists in Resources.resx

P.K
  • 18,587
  • 11
  • 45
  • 51