@@ -45,14 +45,14 @@ public GenerateResult GenerateProject(BuildPartition buildPartition, ILogger log
4545 /// <summary> 
4646 /// returns a path where executable should be found after the build (usually \bin) 
4747 /// </summary> 
48-  [ PublicAPI ]  protected  virtual  string  GetBinariesDirectoryPath ( string  buildArtifactsDirectoryPath ,  BuildPartition   buildPartition ) 
48+  [ PublicAPI ]  protected  virtual  string  GetBinariesDirectoryPath ( string  buildArtifactsDirectoryPath ,  string   configuration ) 
4949 =>  buildArtifactsDirectoryPath ; 
5050
5151 /// <summary> 
5252 /// returns a path where intermediate files should be found after the build (usually \obj) 
5353 /// </summary> 
5454 [ PublicAPI ] 
55-  protected  virtual  string  GetIntermediateDirectoryPath ( string  buildArtifactsDirectoryPath ,  BuildPartition   buildPartition ) 
55+  protected  virtual  string  GetIntermediateDirectoryPath ( string  buildArtifactsDirectoryPath ,  string   configuration ) 
5656 =>  string . Empty ; 
5757
5858 /// <summary> 
@@ -127,15 +127,15 @@ private ArtifactsPaths GetArtifactsPaths(BuildPartition buildPartition, string r
127127
128128 string  programName  =  buildPartition . ProgramName ; 
129129 string  buildArtifactsDirectoryPath  =  GetBuildArtifactsDirectoryPath ( buildPartition ,  programName ) ; 
130-  string  binariesDirectoryPath  =  GetBinariesDirectoryPath ( buildArtifactsDirectoryPath ,  buildPartition ) ; 
130+  string  binariesDirectoryPath  =  GetBinariesDirectoryPath ( buildArtifactsDirectoryPath ,  buildPartition . BuildConfiguration ) ; 
131131
132132 string  executablePath  =  GetExecutablePath ( binariesDirectoryPath ,  programName ) ; 
133133
134134 return  new  ArtifactsPaths ( 
135135 rootArtifactsFolderPath :  rootArtifactsFolderPath , 
136136 buildArtifactsDirectoryPath :  buildArtifactsDirectoryPath , 
137137 binariesDirectoryPath :  binariesDirectoryPath , 
138-  intermediateDirectoryPath :  GetIntermediateDirectoryPath ( buildArtifactsDirectoryPath ,  buildPartition ) , 
138+  intermediateDirectoryPath :  GetIntermediateDirectoryPath ( buildArtifactsDirectoryPath ,  buildPartition . BuildConfiguration ) , 
139139 programCodePath :  Path . Combine ( buildArtifactsDirectoryPath ,  $ "{ programName } { codeFileExtension } ") , 
140140 appConfigPath :  $ "{ executablePath } .config", 
141141 nuGetConfigPath :  Path . Combine ( buildArtifactsDirectoryPath ,  "NuGet.config" ) , 
0 commit comments