-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathDirectory.Build.props
73 lines (65 loc) · 3.45 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
<Project>
<!-- KS General Information -->
<PropertyGroup>
<!-- Versioning and some info to be installed to all the Nitrocid projects, including the addons -->
<Version>0.1.2.0</Version>
<Copyright>Copyright (c) Aptivi 2018-2025</Copyright>
<Company>Aptivi</Company>
<Product>Nitrocid</Product>
<LangVersion>latest</LangVersion>
<Deterministic>true</Deterministic>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<WarningsAsErrors>CS9057,CS8002,nullable</WarningsAsErrors>
<EnableSourceControlManagerQueries>true</EnableSourceControlManagerQueries>
<SignAssembly>True</SignAssembly>
<RootPath>$(MSBuildThisFileDirectory)</RootPath>
<AssemblyOriginatorKeyFile>$(RootPath)\aptivi_snk.snk</AssemblyOriginatorKeyFile>
<!--
Increment NitrocidModAPIVersionMajor every time there is a new version of Nitrocid KS. For example, N-KS 0.1.1 is
3.0.26. Also, increment NitrocidModAPIVersionChangeset every time there is a breaking change or an API addition
in the N-KS API. Don't forget to document it in the GitBook instance so the mod developers are aware of the breaking
changes!
-->
<NitrocidModAPIVersionMajor>3.0.27</NitrocidModAPIVersionMajor>
<NitrocidModAPIVersionChangeset>32</NitrocidModAPIVersionChangeset>
<!-- The above two properties are to be installed to the file version -->
<NitrocidModAPIVersion>$(NitrocidModAPIVersionMajor).$(NitrocidModAPIVersionChangeset)</NitrocidModAPIVersion>
<FileVersion>$(NitrocidModAPIVersion)</FileVersion>
</PropertyGroup>
<!-- KS General Information End -->
<!-- KS Platform Information -->
<!--
Note for constants: All Nitrocid flags should be defined by defining NitrocidFlags, not DefineConstants. Here's how you
define such flags: -p:NitrocidFlags=PACKAGEMANAGERBUILD
Supported constants (NitrocidFlags):
- PACKAGEMANAGERBUILD: Indicates that this build is a package manager build suitable for Launchpad PPA
- VSDEBUG: Enables immediate window debug in the "Output" pane
Possible specifiers (NitrocidReleaseSpecifier):
- REL: Final release
- DEV: Developer preview
- ALPHA: Alpha release
- BETA: Beta release
- RC: Release candidate
-->
<PropertyGroup>
<DefineDebug Condition="'$(Configuration)' == 'Debug'">true</DefineDebug>
<DefineTrace Condition="'$(Configuration)' == 'Debug'">true</DefineTrace>
<DebugType Condition="'$(Configuration)' == 'Debug'">portable</DebugType>
<Optimize>true</Optimize>
<Optimize Condition="'$(Configuration)' == 'Debug'">false</Optimize>
<NitrocidReleaseSpecifier>REL</NitrocidReleaseSpecifier>
<NitrocidReleaseSpecifier Condition="'$(Configuration)' == 'Debug'">DEV</NitrocidReleaseSpecifier>
<DefineConstants>SPECIFIER$(NitrocidReleaseSpecifier);$(NitrocidFlags.Replace(",",";"))</DefineConstants>
</PropertyGroup>
<!-- KS Platform Information End -->
<!-- KS SourceLink -->
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="all" />
</ItemGroup>
<PropertyGroup>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>
<!-- KS SourceLink End -->
</Project>