-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathDirectory.Build.props
81 lines (74 loc) · 3.04 KB
/
Directory.Build.props
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
72
73
74
75
76
77
78
79
80
81
<Project>
<!--
BASIC CONFIGURATION
-->
<!--Basic information-->
<PropertyGroup>
<!--Project configuration-->
<Authors>Kyouyama Kazusa</Authors>
<Copyright>Copyright (c) KyouyamaKazusa 2019-2025</Copyright>
<Version>3.4.1</Version>
<!--Syntax configuration-->
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>preview</LangVersion>
<Nullable>enable</Nullable>
<!--Compilation Features-->
<Features>strict</Features>
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
<AnalysisLevel>latest</AnalysisLevel>
<WarningsAsErrors>nullable</WarningsAsErrors>
<NoWarn>NU1900;NU1902;NU1903</NoWarn>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
</PropertyGroup>
<!--Enables the preview features if the project is not the source generators.-->
<!--
<PropertyGroup Condition="'$(MSBuildProjectFile.EndsWith(`SourceGeneration.csproj`))'=='false' And '$(LangVersion)'=='preview'">
<Feature>InterceptorsPreview</Feature>
<EnablePreviewFeatures>true</EnablePreviewFeatures>
</PropertyGroup>
-->
<!--Select the default configuration as 'DEBUG', and set the compilation symbols.-->
<Choose>
<When Condition="'$(Configuration)'==''">
<PropertyGroup>
<Configuration>Debug</Configuration>
<DefineConstants>DEBUG</DefineConstants>
</PropertyGroup>
</When>
<When Condition="'$(Configuration)'=='Debug'">
<PropertyGroup>
<DefineConstants>DEBUG</DefineConstants>
</PropertyGroup>
</When>
</Choose>
<!--
GLOBAL TYPE ALIASES
-->
<ItemGroup Condition="'$(TargetFramework)'!='netstandard2.0'">
<Using Include="System.Int32" Alias="Candidate" />
<Using Include="System.Int32" Alias="Cell" />
<Using Include="System.Int32" Alias="Digit" />
<Using Include="System.Int32" Alias="House" />
<Using Include="System.Int32" Alias="HouseMask" />
<Using Include="System.Int32" Alias="ConjugateMask" />
<Using Include="System.Int32" Alias="BlockIndex" />
<Using Include="System.Int32" Alias="RowIndex" />
<Using Include="System.Int32" Alias="ColumnIndex" />
<Using Include="System.Int16" Alias="Mask" />
<Using Include="System.ReadOnlySpan<System.Byte>" Alias="ReadOnlyUtf8CharSequence" />
<Using Include="System.ReadOnlySpan<System.Char>" Alias="ReadOnlyCharSequence" />
<Using Include="System.Span<System.Byte>" Alias="Utf8CharSequence" />
<Using Include="System.Span<System.Char>" Alias="CharSequence" />
<Using Include="System.ReadOnlyMemory<System.Byte>" Alias="ReadOnlyUtf8CharMemorySequence" />
<Using Include="System.ReadOnlyMemory<System.Char>" Alias="ReadOnlyCharMemorySequence" />
<Using Include="System.Memory<System.Byte>" Alias="Utf8CharMemorySequence" />
<Using Include="System.Memory<System.Char>" Alias="CharMemorySequence" />
</ItemGroup>
<!--
SOURCE GENEARTOR PROJECTS CONFIGURATION
-->
<!--Set the root namespaces for source generator projects.-->
<PropertyGroup Condition="'$(MSBuildProjectFile.TrimEnd(`.csproj`).EndsWith(`SourceGeneration`))'=='true'">
<RootNamespace>Sudoku.SourceGeneration</RootNamespace>
</PropertyGroup>
</Project>