fixed AfterBuild target issue and switch to xUnit.MSBuild