Fixed a few things and improved usability.

Added support for VersionFile property in the .targets file and fixed
some issues.