Fixes desktop platform and NuGet targeting.