Resizing

Resizing work. NuGet update to SDK version pending.
how about checking for location not being null? if location is not needed then why have it as a parameter?