[C#] Improved build process to create a NuGet package