-
Notifications
You must be signed in to change notification settings - Fork 761
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
22 lines (20 loc) · 1.29 KB
/
Copy pathDirectory.Build.props
File metadata and controls
22 lines (20 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<Project>
<!-- Temporarily detect that common props haven't been imported since not every project is using this new logic yet. -->
<PropertyGroup Condition="'$(_WasCommonPropsImported)' != 'true'">
<CustomBeforeMicrosoftCSharpTargets>$(CustomBeforeMicrosoftCSharpTargets);$(MSBuildThisFileDirectory)build\common.targets</CustomBeforeMicrosoftCSharpTargets>
</PropertyGroup>
<ImportGroup Condition="'$(_WasCommonPropsImported)' != 'true'">
<Import Project="build\config.props" />
<Import Project="build\common.project.props" />
</ImportGroup>
<PropertyGroup Condition="'$(_WasCommonPropsImported)' != 'true'">
<!-- Some legacy projects reference assemblies in GAC;AssemblyFolders. -->
<!-- Reset AssemblySearchPaths to empty to let Microsoft.Common.targets pick the legacy defaults -->
<AssemblySearchPaths Condition="'$(UsingMicrosoftNETSdk)' != 'true'" />
</PropertyGroup>
<PropertyGroup>
<UsingToolXliff>true</UsingToolXliff>
<UpdateXlfOnBuild Condition="'$(CI)' != 'true'">true</UpdateXlfOnBuild>
<CustomBeforeMicrosoftCommonTargets Condition="'$(DotNetBuild)' == 'true'">$(CustomBeforeMicrosoftCommonTargets);$(MSBuildThisFileDirectory)eng\dotnet-build\TargetingPacks.BeforeCommonTargets.targets</CustomBeforeMicrosoftCommonTargets>
</PropertyGroup>
</Project>