Custom xml exception. Switch to MSBuild