Resizing

Resizing work. NuGet update to SDK version pending.
why throw a NullRef? It should be InvalidOperationException