-
Notifications
You must be signed in to change notification settings - Fork 653
Expand file tree
/
Copy pathSpectre.Console.csproj
More file actions
54 lines (44 loc) · 2.15 KB
/
Spectre.Console.csproj
File metadata and controls
54 lines (44 loc) · 2.15 KB
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net10.0;net9.0;net8.0;netstandard2.0</TargetFrameworks>
<IsPackable>true</IsPackable>
<DefineConstants>$(DefineConstants)TRACE;WCWIDTH;WCWIDTH_VISIBILITY_INTERNAL</DefineConstants>
<IsAotCompatible Condition="'$(TargetFramework)' != 'netstandard2.0'">true</IsAotCompatible>
</PropertyGroup>
<ItemGroup Label="REMOVE THIS">
<InternalsVisibleTo Include="$(AssemblyName).Tests" />
</ItemGroup>
<PropertyGroup>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
<CompilerGeneratedFilesOutputPath>Generated</CompilerGeneratedFilesOutputPath>
</PropertyGroup>
<ItemGroup>
<!-- Exclude the output of source generators from the compilation -->
<Compile Remove="$(CompilerGeneratedFilesOutputPath)/**/*.cs" />
</ItemGroup>
<ItemGroup Label="Standard Figlet font">
<EmbeddedResource Include="Widgets\Figlet\Fonts\Standard.flf" />
<None Remove="Widgets\Figlet\Fonts\Standard.flf" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Wcwidth.Sources" PrivateAssets="all" />
<PackageReference Include="Microsoft.Bcl.TimeProvider" Condition="'$(TargetFramework)' == 'netstandard2.0'" />
<PackageReference Include="System.Memory" Condition="'$(TargetFramework)' == 'netstandard2.0'" />
<PackageReference Include="Polyfill" Condition="'$(TargetFramework)' == 'netstandard2.0'" PrivateAssets="all" />
</ItemGroup>
<ItemGroup Label="Source Generator">
<ProjectReference Include="..\Spectre.Console.Ansi\Spectre.Console.Ansi.csproj" />
<ProjectReference Include="..\Spectre.Console.SourceGenerator\Spectre.Console.SourceGenerator.csproj"
OutputItemType="Analyzer"
ReferenceOutputAssembly="false" />
</ItemGroup>
<ItemGroup Label="Generator Data Files">
<AdditionalFiles Include="Data\spinners_default.json" />
<AdditionalFiles Include="Data\spinners_sindresorhus.json" />
<!--
currently Emoji v17.
see data.raw.json at https://github.com/milesj/emojibase/tree/master/packages/data/en
-->
<AdditionalFiles Include="Data\emoji.json" />
</ItemGroup>
</Project>