forked from NuGet/NuGet.Client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
17 lines (17 loc) · 1.09 KB
/
Directory.Build.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<Project>
<!-- Temporarily detect that common props haven't been imported since not every project is using this new logic yet. -->
<PropertyGroup Condition="'$(_WasCommonPropsImported)' != 'true'">
<IsNetCoreProject Condition="'$(UsingMicrosoftNETSdk)' == 'true'">true</IsNetCoreProject>
<IsNetCoreProject Condition="'$(UsingMicrosoftNETSdk)' != 'true'">false</IsNetCoreProject>
<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>
</Project>