Added reference to System.Core so MSBuild will compile the project. VS does this automatically, but MSBuild does not.