-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
34 lines (29 loc) · 1.02 KB
/
Copy pathDirectory.Build.props
File metadata and controls
34 lines (29 loc) · 1.02 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
<Project>
<!-- General -->
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<!-- Code quality -->
<PropertyGroup>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsNotAsErrors>NU1901,NU1902,NU1903</WarningsNotAsErrors>
</PropertyGroup>
<!-- Release code quality -->
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
</PropertyGroup>
<!-- Lua version constant -->
<PropertyGroup>
<!-- Default Lua version -->
<LuaVersion Condition="'$(LuaVersion)' == ''">5.5</LuaVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(LuaVersion)' == '5.4'">
<DefineConstants>$(DefineConstants);LUA_5_4</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(LuaVersion)' == '5.5'">
<DefineConstants>$(DefineConstants);LUA_5_5</DefineConstants>
</PropertyGroup>
</Project>