DEV Community


Discussion on: Help with some C#.Net

develosaur profile image
Derek Author

I found some articles online mentioning deleting bin and obj folders. Did just that, did build and it's all mysteriously just working now.
Thanks for the help people!

kspeakman profile image
Kasey Speakman • Edited

Yeah, that was going to be my next suggestion. Sometimes the progressive rebuild stuff gets confused and mixes in some old versions of your compiled project that it had cached. Then you get weird errors for code that might not even be there anymore. Deleting bin and obj and then rebuilding are the VS equivalent of "have you tried turning it off and on again?" It happens just infrequently enough to us to not consider it the first thing to do however.