forked from dotnet/sdk
/
dotnet-new3.csproj
46 lines (40 loc) · 1.99 KB
/
dotnet-new3.csproj
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
<Project ToolsVersion="15.0" Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description>Template Instantiation Commands for .NET CLI.</Description>
<TargetFramework>$(SdkTargetFramework)</TargetFramework>
<OutputType>Exe</OutputType>
<EnableStyleCopAnalyzer>true</EnableStyleCopAnalyzer>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup Condition="'$(Configuration)' == 'Debug'">
<Content Include="defaultinstall.template.list.debug">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<Link>defaultinstall.template.list</Link>
</Content>
</ItemGroup>
<ItemGroup Condition="'$(Configuration)' != 'Debug'">
<Content Include="defaultinstall.template.list.release">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<Link>defaultinstall.template.list</Link>
</Content>
</ItemGroup>
<ItemGroup>
<None Update="dotnet-new3.sh" CopyToOutputDirectory="Always" />
<None Update="dotnet-new3.cmd" CopyToOutputDirectory="Always" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" />
<PackageReference Include="Microsoft.TemplateEngine.Orchestrator.RunnableProjects" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Microsoft.TemplateEngine.Cli\Microsoft.TemplateEngine.Cli.csproj" />
</ItemGroup>
<Target Name="AddRuntimeDependenciesToContent" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp'" BeforeTargets="GetCopyToOutputDirectoryItems" DependsOnTargets="GenerateBuildDependencyFile;GenerateBuildRuntimeConfigurationFiles">
<ItemGroup>
<ContentWithTargetPath Include="$(ProjectDepsFilePath)" CopyToOutputDirectory="PreserveNewest" TargetPath="$(ProjectDepsFileName)" />
<ContentWithTargetPath Include="$(ProjectRuntimeConfigFilePath)" CopyToOutputDirectory="PreserveNewest" TargetPath="$(ProjectRuntimeConfigFileName)" />
</ItemGroup>
</Target>
</Project>