File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 77 <SourceBuildManagedOnly >true</SourceBuildManagedOnly >
88 </PropertyGroup >
99
10+ <!--
11+ Remove inner source .globalconfig file as both the inner and outer config files get loaded and cause a conflict.
12+ Leaving the inner will cause all conflicting settings to be ignored.
13+ https://learn.microsoft.com/dotnet/fundamentals/code-analysis/configuration-files#general-options.
14+ This only needs to be done if there is an inner clone.
15+ -->
16+ <Target Name =" RemoveInnerGlobalConfig"
17+ DependsOnTargets =" PrepareInnerSourceBuildRepoRoot"
18+ BeforeTargets =" RunInnerSourceBuildCommand"
19+ Condition =" '$(DotNetBuildOrchestrator)' != 'true'" >
20+
21+ <Delete Files =" $(InnerSourceBuildRepoRoot).globalconfig" />
22+ </Target >
23+
1024 <!-- Build RepoTasks - this is normally triggered via the build script but the inner ArPow source-build is run via msbuild.
1125 https://github.com/dotnet/source-build/issues/3807 -->
1226 <Target Name =" BuildRepoTasks"
You can’t perform that action at this time.
0 commit comments