I don't know a lot about metal roofs, but there are a few things I've encountered over the years. Thickness = quality. There is a pretty wide range of gauges available to fit your application and/or budget.
As for flashing, I'd say there are probably two approaches. One is to strip the siding above the roof, install the roof, install the flashing on the roof where it meets the siding, then reinstall the siding over the flashing. The other approach would be to butt the roof to the siding, install flashing on top of the roof and siding, then install counter-flashing which involves cutting a horizontal slot and forming a wedge in the top of the counter-flash. All the flashing and counter-flashing would be site-bent from coil stock.
The roofing material supplier will sell you flashing (in the same color as the roof) that will go on the side of the barn. If you have siding on your barn, you may want to tuck the siding under the flashing.
"Metal Roofing Magazine" a trade publication. Seven times a year. F&W Publishing. Out of Palm Coast FL. No phone number provided.
Latest idea book is Volume 14 Issue 3 -- With finished buildings, mention of standing seam, shingles, snow management, fasteners, tools & equipment, coatings for retrofit, underlayment.
Over 100 metal roof associated companies identified.
It's an idea book not a catalog, but it can't hurt to find one to start.
There is a metal roofing association that will have a hand book. Google until you find it.
Are you using "5-Vee" / agricultural tin? standing seam? Prefinished metal"
Your flashing should match the roofing. Not so much in color, although that is good but in the metallurgy sense. Dissimilar metals will cause corrosion problems.
Pay attention to slope requirements. 5-vee has different requirements than standing seam.
Fastening pattern and type is also critical and often screwed up.
Bill, I have metal roofing on seven buildings and three shed roofs attached to larger buildings. I use 5-V roofing, either galvanized and galv-alum. Both of these are 2' wide.
The galvanized is sold by the local co-op and elsewhere, is thinner gauge steel (29?), cheaper quality and cheaper price. I have it on most of the smaller roofs.
I far prefer the galv-alum. It costs more but is much higher quality, thicker steel (26 ga I think) and better warranty. You can really tell the difference working with it and walking on it. I like the galv-alum roofing on the larger buildings. I buy it from Metal Roofing Wholesalers in Knoxville.
That said, I've designed a second barn to use the 3'-wide colored roofing used on houses. Good warranty. First time I've tried that but it comes recommended by some builder friends with experience.
For attaching a shed roof to the side of an existing building with rough board siding, we put it well under the overhang of a higher roof and/or cut away the siding, slip flashing underneath the siding, and push the roofing up under the lower edge of the boards.
BTW we usually fasten the roofing directly to perlins on 2' centers nailed to rafters, but on my last building (24x66) I have 1/2" OSB sheathing over trusses, 30lb roofing felt, then galv-alum roofing. I really like the way that turned out.