Team Build and build event script macros RRS feed

  • Question

  • We make extensive use of pre- and post-build event scripts in our Visual Studio solutions. In those scripts, we make extensive use of the pre-defined macros that Visual Studio provides, e.g. $(SolutionDir), $(ProjectDir), etc. Team Build fails to build our solutions correctly because those properties are undefined in the build scripts generated by Visual Studio 2005 beta 2. Is this simply a work-in-progress bug in the beta software, or is there some recommended way of constructing build scripts that capture all of the information that is available when builds are performed from within the Visual Studio IDE?

    Thanks in advance,
    Thursday, April 28, 2005 5:31 PM


  • This is a known issue with Beta2, and we have already addressed it in subsequent bits.  Your guess was correct in that it is a beta2 bug - but expect to see this functional in RTM!

    Faisal Mohamood
    MSBuild Team
    Thursday, April 28, 2005 7:30 PM