문제

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;
도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top