Changed nuget to use msbuild targets instead of post build event

I changed the nuget packet to use msbuild target instead of the post build event.

It is less error prone, since a user might change the post build event and damage the script.