Reputation: 5
i have picBarrier as a picturebox, for some reason, i keep getting an error about a background picturebox i deleted on something, it points it out for even when its commented out. i tried deleting-text, restarting, any suggestions?
Error 1 The name 'picBackGround' does not exist in the current contex
// PictureBox[] pics = {picBarrier, picEnd, picFloor;
Upvotes: 0
Views: 84
Reputation: 65059
I'm just gonna rep whore this one.... :>
Full Clean + Rebuild fixes this. You can tell that Visual Studio is a bit out of sync with the source because it's highlighting something completely different to what it says is the issue.
Clean + Rebuild (even though Rebuild does a Clean.. sometimes its very random in what it does.. so I always suggest a Clean + Rebuild):
Upvotes: 1