Using the generatedocumentation target with msbuild in desktopbuild and teambuild

Unanswered Using the generatedocumentation target with msbuild in desktopbuild and teambuild

  • Monday, April 23, 2012 8:47 AM
     
     

    Hello,

    i'm using visual studio 2010 with tfs 2010 and teambuilds. What i like to achieve is, to generate a documentation via doxygen for both the desktop-build and the team-build. So i don't want to redefine my DefaultTemplate.xaml-build-definition, but to override the GenerateDocumentation-Target, which is located in Microsoft.TeamFoundation.Build.targets. Many sources in the web write about the TFSBuild.proj but for the tfs2010 this seems to be outdated. I tried to import the above mentioned target-file in my msbuild-project-file and overloaded the GenerateDocumentation-Target, but its not invoked, neither in desktop- nor in team-builds, when i start the build in the vs-console via: msbuild /property:GenerateDocumentation=true (without the property it does not work either).Am i'm missing something? What is the correct way to use the targets defined in Microsoft.TeamFoundation.Build.targets?

    Best regards

    Andreas

    • Moved by lucy-liu Tuesday, April 24, 2012 6:57 AM it is a tfs build issue (From:MSBuild)
    •  

All Replies

  • Tuesday, April 24, 2012 6:57 AM
     
     

    Hi Andreas,

    I will move it to "Team Foundation Server - Build Automation" forum for a better support.

    Thank you for your understanding!


    Lucy Liu [MSFT]
    MSDN Community Support | Feedback to us