I\'m setting up a publish to a relative path for testing locally (especially xml config transformations). Each developer has their own path to the checked out project and I\
For those using Visual Studio 2012 and the new publish configuration file (Properties/PublishProfiles/Local.pubxml) you can use this syntax in the file itself:
FileSystem
$(MSBuildThisFileDirectory)..\..\obj\publish
True
Be aware that the $(MSBuildThisFileDirectory) property will resolve to the Local.pubxml directory. From there you should traverse up to get where you need to be.