-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
$(IntermediateOutputPath)
in ApiCompat commands
- #5361 - pass property value in `--impl-dirs` argument in `ValidateApiCompatForSrc` target - pass property value in `----contract-depends` argument in `RunMatchingRefApiCompat` target - reverts small part of #4585 - specifically, 24d6981
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,7 +68,7 @@ | |
<ApiCompatArgs Condition="'$(ApiCompatExcludeAttributeList)' != ''">$(ApiCompatArgs) --exclude-attributes "$(ApiCompatExcludeAttributeList)"</ApiCompatArgs> | ||
<ApiCompatArgs Condition="'$(ApiCompatEnforceOptionalRules)' == 'true'">$(ApiCompatArgs) --enforce-optional-rules</ApiCompatArgs> | ||
<ApiCompatArgs Condition="'$(BaselineAllAPICompatError)' != 'true' and Exists('$(ApiCompatBaseline)')">$(ApiCompatArgs) --baseline "$(ApiCompatBaseline)"</ApiCompatArgs> | ||
<ApiCompatArgs>$(ApiCompatArgs) --impl-dirs "@(_DependencyDirectories, ','),"</ApiCompatArgs> | ||
<ApiCompatArgs>$(ApiCompatArgs) --impl-dirs "$(IntermediateOutputPath),@(_DependencyDirectories, ','),"</ApiCompatArgs> | ||
<ApiCompatArgs Condition=" '$(AdditionalApiCompatOptions)' != '' ">$(ApiCompatArgs) $(AdditionalApiCompatOptions)</ApiCompatArgs> | ||
<ApiCompatBaselineAll Condition="'$(BaselineAllAPICompatError)' == 'true'">> "$(ApiCompatBaseline)"</ApiCompatBaselineAll> | ||
<ApiCompatExitCode>0</ApiCompatExitCode> | ||
|
@@ -123,7 +123,7 @@ | |
|
||
<PropertyGroup> | ||
<MatchingRefApiCompatArgs>$(MatchingRefApiCompatArgs) "$(ImplementationAssemblyAsContract)"</MatchingRefApiCompatArgs> | ||
<MatchingRefApiCompatArgs>$(MatchingRefApiCompatArgs) --contract-depends "@(_ContractDependencyDirectories, ','),"</MatchingRefApiCompatArgs> | ||
<MatchingRefApiCompatArgs>$(MatchingRefApiCompatArgs) --contract-depends "$(IntermediateOutputPath),@(_ContractDependencyDirectories, ','),"</MatchingRefApiCompatArgs> | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
dougbu
Author
Member
|
||
<MatchingRefApiCompatArgs>$(MatchingRefApiCompatArgs) --left-operand implementation</MatchingRefApiCompatArgs> | ||
<MatchingRefApiCompatArgs>$(MatchingRefApiCompatArgs) --right-operand reference</MatchingRefApiCompatArgs> | ||
<MatchingRefApiCompatArgs Condition="'$(ApiCompatExcludeAttributeList)' != ''">$(MatchingRefApiCompatArgs) --exclude-attributes "$(ApiCompatExcludeAttributeList)"</MatchingRefApiCompatArgs> | ||
|
You do not need this here, since you don't expect anything other than
$(ImplementationAssemblyAsContract)
in$(IntermediateOutputPath)