Source Build Setup Errors

Is there an actual guide that one can follow from start to finish which will produce a source build that actually works. Every guide I’ve done I’ve followed the steps up to the “Build Solution” part and then get errors. So they’ve left something out and I’m missing that essential part.