If you plan to put all of your solar gear, plus the generator and inverter charger in the shed, you will need batteries in the shed and a converter and battery in the RV (which you likely already have).
Samlex makes an inverter/charger/automatic transfer switch that has "hard wire" outputs. Their 1200W unit has one input,
while their >2000W units have two inputs, line and generator.
The two input version can start the generator if there is no line voltage and the batteries are low.