I have a DLL project for Visual Studio 2005 in which an XML documetation XML document file is included. Whenever I perform incremental assembly, during the execution of the event after the assembly, the XML documentation file is missing from the output directory.
If I paused the build during the post-build event (using the sleep utility from GnuWin32 CoreUtils ), I can see a file in the output directory called vs5BB5.tmp. But this file is not renamed to MyLib.xml until the post-build event is completed (and "AfterBuild", as I have some settings).
For a clean build in Studio and for MSBuild launched from the command line, everything works as expected - an XML documentation file is created before the events after the build.
Why is this happening, and how can I fix incremental builds?
source share