Discovered that XDT transforms are not supported by Nuget. Replaced the web.config.transform with install.ps1 and uninstall.ps1.