6 responses to “MSBuild and including extra files from multiple builds”

  1. Scott Stafford

    In VS2012, the target you need to hook was renamed from:




  2. Checkyourcode

    $(IncludeRootDir) is not part of any pre-defined msbuild setting. You apparently are referring to some custom variable and are not explaining it. What is it? How does it work? Where do you define it?

  3. Jacob T. Nielsen

    This article helped me a bunch. Thanks.

    Do you know of any way to include files that are not located on disk? I have a custom Task in which I want to generate some content that I want to publish via FilesForPackagingFromProject , but this only allows me to include files from disk.

  4. Publish extra dll files not included in the web project | Technology & Programming

    […] tried to add custom files (found here: http://blog.samstephens.co.nz/2010-10-18/msbuild-including-extra-files-multiple-builds/), here is my build file. I launch the BuildAll target in […]

Leave a Reply