Modified build configuration

becuase AppHarbor only use Release mode to publish.
Renamed the paremter.
Addressed the code analysis warning.
Changed the sln file to vs2012.