File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 73
73
That is necessary as APICompat is invoked twice, once for the ref <-> src comparision and then again
74
74
for the package validation (which doesn't include reference assemblies). As both operations don't have
75
75
all the inputs available, some suppressions might only apply to one or the other and hence unnecessary
76
- suppressions can't be determined. -->
77
- <PropertyGroup Condition =" '$(IsPackable)' == 'true' and '$(IsRuntimeAndReferenceAssembly)' != 'true'" >
76
+ suppressions can't be determined.
77
+ Disable the validation under source build as that might use an out-of-date SDK and not the ApiCompat.Task package. -->
78
+ <PropertyGroup Condition =" ('$(IsPackable)' == 'true' and '$(IsRuntimeAndReferenceAssembly)' != 'true') or '$(DotNetBuildFromSource)' == 'true'" >
78
79
<ApiCompatPreserveUnnecessarySuppressions >true</ApiCompatPreserveUnnecessarySuppressions >
79
80
<ApiCompatPermitUnnecessarySuppressions >true</ApiCompatPermitUnnecessarySuppressions >
80
81
</PropertyGroup >
You can’t perform that action at this time.
0 commit comments