ReSharper fixes.
Added lib assemblies.
Updated the build file.