@@ -45,14 +45,14 @@ public GenerateResult GenerateProject(BuildPartition buildPartition, ILogger log
45
45
/// <summary>
46
46
/// returns a path where executable should be found after the build (usually \bin)
47
47
/// </summary>
48
- [ PublicAPI ] protected virtual string GetBinariesDirectoryPath ( string buildArtifactsDirectoryPath , BuildPartition buildPartition )
48
+ [ PublicAPI ] protected virtual string GetBinariesDirectoryPath ( string buildArtifactsDirectoryPath , string configuration )
49
49
=> buildArtifactsDirectoryPath ;
50
50
51
51
/// <summary>
52
52
/// returns a path where intermediate files should be found after the build (usually \obj)
53
53
/// </summary>
54
54
[ PublicAPI ]
55
- protected virtual string GetIntermediateDirectoryPath ( string buildArtifactsDirectoryPath , BuildPartition buildPartition )
55
+ protected virtual string GetIntermediateDirectoryPath ( string buildArtifactsDirectoryPath , string configuration )
56
56
=> string . Empty ;
57
57
58
58
/// <summary>
@@ -127,15 +127,15 @@ private ArtifactsPaths GetArtifactsPaths(BuildPartition buildPartition, string r
127
127
128
128
string programName = buildPartition . ProgramName ;
129
129
string buildArtifactsDirectoryPath = GetBuildArtifactsDirectoryPath ( buildPartition , programName ) ;
130
- string binariesDirectoryPath = GetBinariesDirectoryPath ( buildArtifactsDirectoryPath , buildPartition ) ;
130
+ string binariesDirectoryPath = GetBinariesDirectoryPath ( buildArtifactsDirectoryPath , buildPartition . BuildConfiguration ) ;
131
131
132
132
string executablePath = GetExecutablePath ( binariesDirectoryPath , programName ) ;
133
133
134
134
return new ArtifactsPaths (
135
135
rootArtifactsFolderPath : rootArtifactsFolderPath ,
136
136
buildArtifactsDirectoryPath : buildArtifactsDirectoryPath ,
137
137
binariesDirectoryPath : binariesDirectoryPath ,
138
- intermediateDirectoryPath : GetIntermediateDirectoryPath ( buildArtifactsDirectoryPath , buildPartition ) ,
138
+ intermediateDirectoryPath : GetIntermediateDirectoryPath ( buildArtifactsDirectoryPath , buildPartition . BuildConfiguration ) ,
139
139
programCodePath : Path . Combine ( buildArtifactsDirectoryPath , $ "{ programName } { codeFileExtension } ") ,
140
140
appConfigPath : $ "{ executablePath } .config",
141
141
nuGetConfigPath : Path . Combine ( buildArtifactsDirectoryPath , "NuGet.config" ) ,
0 commit comments