forked from dotnet/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
56 lines (43 loc) · 2.73 KB
/
Directory.Build.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--
Projects which don't import dir.props:
build\RestoreDependency.proj
build\sdks\sdks.csproj
build_projects\Microsoft.DotNet.Cli.Build.SelfTest\InvokeWithStage2.proj
tools\TestAssetsDependencies\TestAssetsDependencies.csproj
-->
<PropertyGroup>
<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot>
<RelativeGeneratedPropsDir>bin/obj</RelativeGeneratedPropsDir>
<GeneratedPropsDir>$(RepoRoot)/$(RelativeGeneratedPropsDir)</GeneratedPropsDir>
<OrchestratedPackageVersionsProps>$(GeneratedPropsDir)/OrchestratedPackageVersionsProps.props</OrchestratedPackageVersionsProps>
<NuGetPackagesDir>$(NUGET_PACKAGES)</NuGetPackagesDir>
<NuGetPackagesDir Condition=" '$(NuGetPackagesDir)' == '' ">$(RepoRoot).nuget/packages</NuGetPackagesDir>
<GeneratedNuGetConfig>$(RepoRoot)/NuGet.Config</GeneratedNuGetConfig>
<RelativeCLIBuildBinaries>build_projects/dotnet-cli-build/bin</RelativeCLIBuildBinaries>
<RelativeCLIBuildDllName>dotnet-cli-build.dll</RelativeCLIBuildDllName>
<CLIBuildDll>$(RepoRoot)/$(RelativeCLIBuildBinaries)/$(RelativeCLIBuildDllName)</CLIBuildDll>
<BuildTasksFeedDll>$(RepoRoot)/$(RelativeCLIBuildBinaries)/Microsoft.DotNet.Build.Tasks.Feed.dll</BuildTasksFeedDll>
<DisableImplicitPackageTargetFallback>true</DisableImplicitPackageTargetFallback>
<CliTargetFramework>netcoreapp3.0</CliTargetFramework>
<!-- We only need this until we get a dotnet/sdk in stage0 with a 3.0 support. -->
<NETCoreAppMaximumVersion>3.0</NETCoreAppMaximumVersion>
<!-- disabling source link RHEL.6 as the sourcelink package is missing native dependencies for it -->
<EnableSourceLink Condition=" '$(Rid)' == 'rhel.6-x64' ">false</EnableSourceLink>
<EnableSourceControlManagerQueries Condition=" '$(Rid)' == 'rhel.6-x64' ">false</EnableSourceControlManagerQueries>
<DeterministicSourcePaths Condition=" '$(Rid)' == 'rhel.6-x64' ">false</DeterministicSourcePaths>
<UsingToolMicrosoftNetCompilers>false</UsingToolMicrosoftNetCompilers>
<!-- https://github.com/dotnet/cli/issues/10637: frequent CI failures when test output is captured -->
<TestCaptureOutput>false</TestCaptureOutput>
</PropertyGroup>
<PropertyGroup>
<ImportNetSdkFromRepoToolset>false</ImportNetSdkFromRepoToolset>
</PropertyGroup>
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />
<Import Project="build/FileExtensions.props" />
<Import Project="build/MSBuildExtensions.props" />
<Import Project="build/OutputDirectories.props" />
<Import Project="build/BundledSdks.props" />
<Import Project="build/BuildDefaults.props" />
<Import Project="build/GenerateResxSource.targets" />
</Project>