Xml documentation file checkouts / TeamBuild

I don't know if this is a TFS problem but I give it a try...

If a webproject has a project refenrece to a class library project where XML documentation is enabled the following (rather irritating) behaviour is observed:

The xml file gets added to the webproject and/pr needs to be checked out.

I found some threads stating that 'cloaking' the bin folder might help but it didn't solved the popup of several boxes

Has anyone a permanent solution

Has anyone tried just enabeling the xml documentation during a teambuild Can it be done with a Condition="'IsDesktopBuild'='false' on the documentation property

Looking forward to your suggestions...

Tnx

Rene



Answer this question

Xml documentation file checkouts / TeamBuild

  • nirav_a_parikh

    This issue with the XML file in the Bin directory having an Add pended will be fixed in the next service pack for VS 2005. If you need the fix sooner you can go to: http://support.microsoft.com/default.aspx scid=kb;EN-US;915110

    While the HotFix mentions Visual SourceSafe integration, I have verified with a TFS RTM and Whidbey RTM installation that this fix works for Team Foundation source control integration as well.

    --Ben



  • frogeraie

    same as u

  • CoderMind

    Hmm, I could repro this problem on my machine. Can you add the following simple workaround in TfsBuild.proj of the build type

    <Target Name="AfterGet">

    <Exec Command="attrib.exe -R [location_of_classlibrary_xmlfile_at_website_binfolder]"/>

    </Target>

    [location_of_classlibrary_xmlfile_at_website_binfolder] is the location of the class library xml file at website bin folder. In my example it was

    $(SolutionRoot)\Solution1\WebSite2\bin\ClassLibrary1.xml

    Thanks.



  • Xml documentation file checkouts / TeamBuild