Add icon.
Work around compiler warning for test code.
Turn on NuGet package restore.
Add NuGet packing.