Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Directory.Build.targets - github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 68aa63fa324d5ba322c8d938aa83088ee5407603 (plain)
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
<Project>

  <PropertyGroup>
    <!--
    For non-SDK projects that import this file and then import Microsoft.Common.targets,
    tell Microsoft.Common.targets not to import Directory.Build.targets again
    -->
    <ImportDirectoryBuildTargets>false</ImportDirectoryBuildTargets>

    <EnableNETAnalyzers Condition="'$(EnableAnalyzers)' != 'true'">false</EnableNETAnalyzers>
  </PropertyGroup>

  <Import Project="$(RepositoryEngineeringDir)liveBuilds.targets" />
  <Import Project="$(RepositoryEngineeringDir)python.targets" />
  <Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" Condition="'$(SkipImportArcadeSdkFromRoot)' != 'true'" />

  <PropertyGroup>
    <!--
      Define this here (not just in Versions.props) because the SDK resets it
      unconditionally in Microsoft.NETCoreSdk.BundledVersions.props.
    -->
    <NETCoreAppMaximumVersion>$(MajorVersion).$(MinorVersion)</NETCoreAppMaximumVersion>
  </PropertyGroup>

  <!--
    SDK currently does not know about net6.0 TargetFramework.
    We need to manually add these to correctly resolve the targeting packs.
    https://github.com/dotnet/sdk/issues/13950  
  -->
  <ItemGroup>
    <KnownFrameworkReference Include="Microsoft.NETCore.App"
      DefaultRuntimeFrameworkVersion="$(MicrosoftNETCoreAppVersion)"
      IsTrimmable="true"
      LatestRuntimeFrameworkVersion="$(MicrosoftNETCoreAppVersion)"
      RuntimeFrameworkName="Microsoft.NETCore.App"
      RuntimePackNamePatterns="Microsoft.NETCore.App.Runtime.**RID**"
      RuntimePackRuntimeIdentifiers="linux-arm;linux-arm64;linux-musl-arm64;linux-musl-x64;linux-x64;osx-x64;rhel.6-x64;tizen.4.0.0-armel;tizen.5.0.0-armel;win-arm;win-arm64;win-x64;win-x86;ios-arm64;ios-arm;ios-x64;ios-x86;tvos-arm64;tvos-x64;android-arm64;android-arm;android-x64;android-x86;browser-wasm"
      TargetFramework="$(NetCoreAppCurrent)"
      TargetingPackName="Microsoft.NETCore.App.Ref"
      TargetingPackVersion="$(MicrosoftNETCoreAppVersion)" />

    <KnownAppHostPack Include="Microsoft.NETCore.App" 
      AppHostPackNamePattern="Microsoft.NETCore.App.Host.**RID**"
      AppHostPackVersion="$(MicrosoftNETCoreAppVersion)"
      AppHostRuntimeIdentifiers="linux-arm;linux-arm64;linux-musl-arm64;linux-musl-x64;linux-x64;osx-x64;rhel.6-x64;tizen.4.0.0-armel;tizen.5.0.0-armel;win-arm;win-arm64;win-x64;win-x86"
      TargetFramework="$(NetCoreAppCurrent)" />
  </ItemGroup>
</Project>