Calculate the intermediate output path in CompileContext.NeedsRebuilding
This commit is contained in:
parent
2d04bdcd17
commit
656b59c508
1 changed files with 2 additions and 0 deletions
|
@ -433,6 +433,8 @@ namespace Microsoft.DotNet.Tools.Build
|
||||||
var compilerIO = new CompilerIO(new List<string>(), new List<string>());
|
var compilerIO = new CompilerIO(new List<string>(), new List<string>());
|
||||||
var calculator = project.GetOutputPathCalculator(outputPath);
|
var calculator = project.GetOutputPathCalculator(outputPath);
|
||||||
var binariesOutputPath = calculator.GetOutputDirectoryPath(buildConfiguration);
|
var binariesOutputPath = calculator.GetOutputDirectoryPath(buildConfiguration);
|
||||||
|
intermediaryOutputPath = calculator.GetIntermediateOutputDirectoryPath(buildConfiguration, intermediaryOutputPath);
|
||||||
|
|
||||||
|
|
||||||
// input: project.json
|
// input: project.json
|
||||||
compilerIO.Inputs.Add(project.ProjectFile.ProjectFilePath);
|
compilerIO.Inputs.Add(project.ProjectFile.ProjectFilePath);
|
||||||
|
|
Loading…
Add table
Reference in a new issue