From 62fc25d3be470d58e4b88625520f0be39c0f124d Mon Sep 17 00:00:00 2001
From: Doug Bunting <6431421+dougbu@users.noreply.github.com>
Date: Wed, 29 Apr 2020 16:13:01 -0700
Subject: [PATCH] Restore use of `$(IntermediateOutputPath)` in ApiCompat
commands (#5373)
- #5361
- pass property value in `--impl-dirs` argument in `ValidateApiCompatForSrc` target
- reverts small part of #4585
- specifically, restore one line changed in https://github.com/dotnet/arcade/pull/4585/commits/24d6981ce20782efed19311048fd25b37aace7f5
---
.../build/Microsoft.DotNet.ApiCompat.targets | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Microsoft.DotNet.ApiCompat/build/Microsoft.DotNet.ApiCompat.targets b/src/Microsoft.DotNet.ApiCompat/build/Microsoft.DotNet.ApiCompat.targets
index 8f492a1b661..6bd14e266e7 100644
--- a/src/Microsoft.DotNet.ApiCompat/build/Microsoft.DotNet.ApiCompat.targets
+++ b/src/Microsoft.DotNet.ApiCompat/build/Microsoft.DotNet.ApiCompat.targets
@@ -68,7 +68,7 @@
$(ApiCompatArgs) --exclude-attributes "$(ApiCompatExcludeAttributeList)"
$(ApiCompatArgs) --enforce-optional-rules
$(ApiCompatArgs) --baseline "$(ApiCompatBaseline)"
- $(ApiCompatArgs) --impl-dirs "@(_DependencyDirectories, ','),"
+ $(ApiCompatArgs) --impl-dirs "$(IntermediateOutputPath),@(_DependencyDirectories, ','),"
$(ApiCompatArgs) $(AdditionalApiCompatOptions)
> "$(ApiCompatBaseline)"
0