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

Directory.Build.targets - github.com/dotnet/spa-templates.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8ab837d3d73e088ebb70a58a87b9e705048304f7 (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
<!--
  Everything in this file should have conditions that check $(RepoRoot). Similarly, because targets here could
  unconditionally override dotnet/aspnetcore targets, put them in a conditionally-imported .targets file instead.
-->
<Project>
  <!--
    When outside dotnet/aspnetcore, intentionally break the inheritance chain.
    Isolate this repo from irrelevant settings in parent folders.
  -->
  <Import Project="$(RepoRoot)src/ProjectTemplates/Directory.Build.targets" Condition=" '$(RepoRoot)' != '' " />

  <!-- Copied from https://github.com/dotnet/aspnetcore/blob/0c5456afe95096db6ac5400cecd3440299b42714/src/ProjectTemplates/Directory.Build.targets. -->
  <PropertyGroup Condition=" '$(RepoRoot)' == '' ">
    <PackageVersion Condition=" '$(PackageVersion)' == '' ">$(Version)</PackageVersion>

    <Description>$(Description)

To install the templates in this package, run 'dotnet new --install $(PackageId)::$(PackageVersion)'.</Description>
  </PropertyGroup>

  <ItemGroup Condition=" '$(RepoRoot)' == '' ">
    <!-- Copied from https://github.com/dotnet/aspnetcore/blob/0c5456afe95096db6ac5400cecd3440299b42714/eng/tools/GenerateFiles/GenerateFiles.csproj. -->
    <PackageReference Include="Microsoft.DotNet.Build.Tasks.Templating"
        Version="$(MicrosoftDotNetBuildTasksTemplatingVersion)"
        PrivateAssets="All"
        IsImplicitlyDefined="true" />
    <!--
      Copied from https://github.com/dotnet/arcade/blob/c6a28c81f96d196338b3ea520bc1e6dc7c440ee2/src/Microsoft.DotNet.Arcade.Sdk/tools/RepositoryInfo.targets.
      We don't need source link. This is imported for automatic determination of repository information.
    -->
    <PackageReference Include="Microsoft.SourceLink.GitHub"
        Version="$(MicrosoftSourceLinkVersion)"
        PrivateAssets="all"
        IsImplicitlyDefined="true" />
  </ItemGroup>

  <Import Project="eng/GenerateContent.targets" Condition=" '$(RepoRoot)' == '' " />
  <Import Project="eng/Packaging.targets" Condition=" '$(RepoRoot)' == '' " />
</Project>