Apologies in advance for butchering the verbiage, but I'm going to give it my best...
I have a VS project that was built for a pre-tfs/msbuild 2010 setup and am trying to convert it to tfs/msbuild 2010. In the old process we used a .proj file, which called a .cmd file to do additional work and passed in the $(MSBuildProjectDirectory) variable.
In the new setup I am using the DefaultTemplate which calls an exe file at the very end passing in the BuildUri and the TeamFoundationServerUri. The .exe file news up an IBuildServer and IBuildDetail, reading all the necessary items and passing them to a set of post-build .cmd files. How does one go about getting the $(MSBuildProjectDirectory) via an IBuild?
Thank you in advance,
John