Monogame and Visual Studio Online (TFS)

Please take a look at this: Building on visual studio online

Maybe this will help you to setup your project correctly.