Skip to content

Commit 65accfd

Browse files
authored
MSBuildCache: Allow duplicate outputs under "obj\*\vcpkg\**" (#17597)
1 parent 6095d3c commit 65accfd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Directory.Build.props

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@
4141
-->
4242
<MSBuildCacheIdenticalDuplicateOutputPatterns>$(MSBuildCacheIdenticalDuplicateOutputPatterns);bin\**</MSBuildCacheIdenticalDuplicateOutputPatterns>
4343

44+
<!--
45+
vcpkg is invoked for each and every vcxproj and each invocation uses the same base dir for logging, so allow these duplicate "outputs".
46+
-->
47+
<MSBuildCacheIdenticalDuplicateOutputPatterns>$(MSBuildCacheIdenticalDuplicateOutputPatterns);obj\*\vcpkg\**</MSBuildCacheIdenticalDuplicateOutputPatterns>
48+
4449
<!-- version of MSBuildCache is not part of the cache key -->
4550
<PackagesConfigFile>$(MSBuildThisFileDirectory)\dep\nuget\packages.config</PackagesConfigFile>
4651
<MSBuildCacheIgnoredInputPatterns>$(MSBuildCacheIgnoredInputPatterns);$(PackagesConfigFile)</MSBuildCacheIgnoredInputPatterns>

0 commit comments

Comments
 (0)