I am trying to build my project using MSbuild. The solution builds perfectly fine if I hardcode the configurations