Frage

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

enter image description here

// PictureBox[] pics = {picBarrier, picEnd, picFloor;
War es hilfreich?

Lösung

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):

Clean and Rebuild

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top