[Tizen] Add CoreCLR tests BuildTools v3.1.3 for armel,arm64
[platform/upstream/coreclr.git] / Tools / MicroBuild.Plugin.props
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3     <PropertyGroup>
4         <!-- MicroBuild plugins can be installed in any parent directory up the tree from the project that is building.
5         The use of a sentinel file (which will be installed automatically due to package dependencies from any plugin)
6         will help us locate the plugin packages directory while being constrained to using MSBuild's intrinsic functions,
7         since we want the imports to occur at evaluation time instead of when a specific target is executing.
8
9         Note: All MicroBuild plugins must be installed to the same directory (under the same packages folder). If plugins
10         are installed to different directories, the plugins which are in the directories closest to the executing project
11         up the hierarchy will be discovered, and the ones higher up the tree will be ignored.
12          -->
13         <MicroBuildSentinelFile>packages\MicroBuild.Core.Sentinel.1.0.0\sentinel.txt</MicroBuildSentinelFile>
14         <MicroBuildSentinelFileV3>MicroBuild.Core.Sentinel\1.0.0\sentinel.txt</MicroBuildSentinelFileV3>
15
16         <MicroBuildPluginDirectory>$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), $(MicroBuildSentinelFile)))</MicroBuildPluginDirectory>
17         <MicroBuildPluginDirectory Condition="'$(MicroBuildPluginDirectory)' != ''">$(MicroBuildPluginDirectory)\packages</MicroBuildPluginDirectory>
18
19         <!-- Some people might want to put the plugin packages directly in their Nuget v3 global cache. This doesn't happen by default,
20         but we will allow for it here. We don't support nuget.config's globalPackagesFolder setting here because we don't have a good
21         way to load/parse that file with MSBuild intrinsics. We can check the other two mechanisms though, which are the %NUGET_PACKAGES%
22         environment variable and %USERPROFILE%\.nuget\packages -->
23         <MicroBuildPluginDirectory Condition="'$(MicroBuildPluginDirectory)' == '' and '$(NUGET_PACKAGES)' != '' and Exists('$(NUGET_PACKAGES)\$(MicroBuildSentinelFileV3)')">$(NUGET_PACKAGES)</MicroBuildPluginDirectory>
24         <MicroBuildPluginDirectory Condition="'$(MicroBuildPluginDirectory)' == '' and '$(USERPROFILE)' != '' and Exists('$(USERPROFILE)\.nuget\packages\$(MicroBuildSentinelFileV3)')">$(USERPROFILE)\.nuget\packages</MicroBuildPluginDirectory>
25
26         <!-- Allow for the ability to override the plugin directory, for example in automated builds -->
27         <MicroBuildPluginDirectory Condition="'$(MicroBuildOverridePluginDirectory)' != ''">$(MicroBuildOverridePluginDirectory)</MicroBuildPluginDirectory>
28     </PropertyGroup>
29 </Project>