I couldn't get this to work in any of the standard ways.
I mounted my Windows 10 installation media on M:\
I ran this command:
dism /online /enable-feature /FeatureName:NetFx3 /All /LimitAccess /Source:M:\sources\sxs
It worked!
I looked at the Windows Features tree and saw that 3.5 was now there.