forked from dotnet/sdk
/
Microsoft.TemplateEngine.Cli.csproj
71 lines (66 loc) · 2.91 KB
/
Microsoft.TemplateEngine.Cli.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(SdkTargetFramework)</TargetFrameworks>
<Description>Template creation for the dotnet CLI</Description>
<IsPackable>true</IsPackable>
<IsShippingPackage>false</IsShippingPackage>
<EnableStyleCopAnalyzer>true</EnableStyleCopAnalyzer>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<DefineConstants>$(DefineConstants);WCWIDTH_VISIBILITY_INTERNAL</DefineConstants>
<StrongNameKeyId>MicrosoftAspNetCore</StrongNameKeyId>
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.TemplateEngine.Edge" />
<PackageReference Include="Microsoft.TemplateSearch.Common" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" />
<PackageReference Include="Wcwidth.Sources" ExcludeAssets="all" GeneratePathProperty="true" />
<PackageReference Include="System.CommandLine" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="../Microsoft.DotNet.Cli.Utils/Microsoft.DotNet.Cli.Utils.csproj" />
<ProjectReference Include="../Microsoft.DotNet.Configurer/Microsoft.DotNet.Configurer.csproj" />
</ItemGroup>
<ItemGroup>
<Compile Update="Commands\HelpStrings.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>HelpStrings.resx</DependentUpon>
</Compile>
<Compile Update="Commands\SymbolStrings.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>SymbolStrings.resx</DependentUpon>
</Compile>
<Compile Update="LocalizableStrings.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>LocalizableStrings.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Commands\HelpStrings.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>HelpStrings.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Commands\SymbolStrings.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>SymbolStrings.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="LocalizableStrings.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>LocalizableStrings.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<Target Name="CopyExternalSourceFilesIntoProject" BeforeTargets="BeforeBuild">
<ItemGroup>
<WcwidthFiles Include="$(PkgWcwidth_Sources)\contentFiles\cs\net6.0\External\**\*" />
</ItemGroup>
<Copy SourceFiles="@(WcwidthFiles)" DestinationFolder="$(BaseIntermediateOutputPath)/External/%(RecursiveDir)" />
<ItemGroup>
<Compile Include="$(BaseIntermediateOutputPath)/External/**/*.cs" />
</ItemGroup>
</Target>
</Project>