/// <summary> /// Compose target path. /// </summary> /// <param name="configuration">The project configuration.</param> /// <param name="target">The target for the project.</param> /// <returns>The target path.</returns> private string ComposeTargetPath( Project.Configuration configuration, Target target) { if (this.OutputFolderLocation == OutputFolderLocation.SolutionFolder) { return(string.Format( Util.NormalizePath(@"$(SolutionDir)bin\{0}\{1}\$(PlatformTarget)\$(Configuration)", target.Platform), Util.GetGeneralPlatformName(target.Platform), Util.GetDevEnvString(target.DevEnv))); } else { return(Util.NormalizePath(@"[conf.ProjectPath]\bin\$(PlatformTarget)\$(Configuration)", target.Platform)); } }