VS/NuGet updates.

These are changes that have accrued over time. Merging these before upgrading VS/NuGet to 0.6.0.
By the way, 0.6 might not need crypt32.lib any more