Fixing some typos in the samples and add automatically Nuget package restore to the build