I'm struggling with the same decision right now. I have a small (2k sqft is small in this area) 300k structure and I don't know whether it will be worth lot value in 10-15 years or still worth 300k+inflation+value additions. The surrounding neighborhood with 1-2million dollar structures says "lot value" even if it's pristinely maintained.
It sounds like your area is one where the location and the market determine value far more than anything on the land, so treat it as "build to suit" commercial property and assume anything built on it is disposable.
It is one of those upgrades you can add to a house that actually retains its value when you go to resell... Most metal roofs have lifespans that are minimum double that of shingles and, per your example, solar panels.
Of course, most people buying in the countryside aren't intending on moving out in fewer than 6 years; 7 minimum is generally considered the break even point around here.
Its nowhere near as loud as an aluminum skinned mobile home.
Shingles are almost always more expensive because of laborious installation.
15 years ago I put a white, metal roof on my house, my summer cooling costs are half or less my neighbors' with the shingled roofs, and they've replaced their shingles in that time frame.
The crop duster aircraft also use my house as a navigation marker and we get to see them frequently.