The original solutions that were publishing ok had a reference to System.net.http but did not have a using System... statement in the code.
System.net.http
using System...