I have listed some questions below for you to answer so we can help identify where your issue is. I put YOUR comments in quotes with question following each.
But first, have you done any research on this issue? For instance, I googled the words "stray voltage on boats" and got lots of good info, INCLUDING what recommended quasi CODE is for USA - it is totally different than Europe. Over 90% of US boat manufacturers follow this ABYC spec. In USA the code is ABYC and states:
connecting the AC green wire to the DC Ground.
YOU APPARENTLY DO NOT HAVE THIS DONE. Ie;, the missing ground wire I keep mentioning.
Some good finds:
http://www.rjwsurvey.com/uploads/Grounding.pdf
http://www.samsmarine.com/forums/showthread.php?11736-How-to-test-for-stray-electrical-current
http://www.cruisersforum.com/forums/f14/stray-voltage-in-a-marina-142433.html
http://abycinc.org/?page=standards
NOW TO QUESTIONS FOR YOU TO HELP YOU FIND THE MISSING OR CORRODED GROUND WIRE:
"one lead on the metal building and the other lead on any metal part of the boat I get 36 volts"
what volts do you get from metal building to the ground terminal on the AC outlet with the charger plugged in?
what volts do you get from metal building to the ground terminal on the AC outlet with the charger NOT plugged in?
"If I plug other metal items into the same plug with the same extension cord I do not have any voltage."
What does this mean? What kind of metal things are you pluggin into an AC outlet??
"There is no continuity between cord on charger and metal on the boat."
Cord on charger has 3 pins; are you saying no continuity from metal on boat to ANY of the 3 120v charger pins? If not, tell us the continuity from that metal rail to EACH of the 3 terminals.
Goldigger said "The - terminal of the battery is very likely grounded to the engine and eventually to all of the bonded metal on the boat"
IS IT?
"The charger is a Genius Noco Genn3" sg-1 said "The 36 VAC could be ripple from the DC output." Reading your manual, this is a PWM output with max ripple of 2%. So if NOT hooked to your batteries, this is only 2.8vac: hooked to battery is is 0.0% ripple. So DC output is NOT an issue.
"Again I can plug anything else into the plug using the same extension cord and eerything is fine."
what does this mean? Does it mean:
A) if charger is plugged in and I am measuring 36vac from building to railing and I then plug in a SECOND device - say a 60watt light, the 36vac goes to 0vac?
-or-
B) I am measuring 36vac from building to railing and UNplug charger so the 36vac goes to 0, and then plug in a SECOND device - say a 60watt light, the 36vac stays at 0?
Your manual on that charger does not go into much technical detail, just keeps saying how great it is, and it does not state if built to ABYC standards or not. You MUST check continuity from the ground pin on the 120ac power plug to the charger's - output. If this is open circuit, that charger is not built to normal USA ABYC specs. If it were me, I would get a refund and buy a better unit. If nothing else, if this continuity is missing, I would immediately call that mfgr and find where a GROUND terminal is that IS tied to the 120vac power plug so you can put a ground wire on it and run it to the - terminal of the charger - with their approval of course. If they do not approve, get a refund. Just tell them they do not meet USA boating standards - refer them to the ABYC.org site listed above if they do not believe you.
Post your answers so we can help you identify your issue; it may still be you have an open neutral or open ground or some other issue in your home as the experts here have considered. The above questions are geared toward helping determine if one of those are your issue, or if you simply are missing a crucial ground wire and how to find and rectify it.