-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Directory.Build.props
57 lines (50 loc) · 2.38 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
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="Sdk.props" Sdk="Sigurd.Thunderstore.Sdk" />
<!-- Build configurations -->
<PropertyGroup>
<Configurations>Debug;Release</Configurations>
<Platforms>AnyCPU</Platforms>
</PropertyGroup>
<!-- compiler/msbuild switches -->
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Nullable>disable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<NoWarn>$(NoWarn);1701;1702;0436</NoWarn>
<DebugType>pdbonly</DebugType>
<ClearCopyLocalPaths>true</ClearCopyLocalPaths>
</PropertyGroup>
<!-- Thunderstore metadata -->
<PropertyGroup>
<IsThunderstorePackable>false</IsThunderstorePackable>
<ThunderstoreNamespace>Dev1A3</ThunderstoreNamespace>
<ThunderstoreWebsiteUrl>https://github.com/1A3Dev/LC-LethalFixes/</ThunderstoreWebsiteUrl>
<ThunderstoreReadmePath>$(MSBuildProjectDirectory)/../README.md</ThunderstoreReadmePath>
</PropertyGroup>
<ItemGroup>
<ThunderstoreBuildCopyPath Include="$(ProjectDir)assets/bundles"
Destination="BepInEx/plugins/$(ProjectName)/bundles" />
<ThunderstoreBuildCopyPath Include="$(ProjectDir)../LICENSE" Destination="/" />
<ThunderstoreBuildCopyPath Include="$(ProjectDir)../CHANGELOG.md" Destination="/" />
<ThunderstorePublishCommunity Include="lethal-company" CategorySlugs="mods;misc" />
<ThunderstoreDependency Include="BepInEx-BepInExPack" Version="5.4.2100" />
</ItemGroup>
<!-- MinVer -->
<PropertyGroup>
<MinVerDefaultPreReleaseIdentifiers>dev</MinVerDefaultPreReleaseIdentifiers>
<MinVerTagPrefix>v</MinVerTagPrefix>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MinVer" Version="4.3.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<SetThunderstorePackageVersionTargetName Include="SetThunderstorePackageVersion" />
</ItemGroup>
<!-- Release optimisations -->
<PropertyGroup Condition="$(Configuration) == 'Release'">
<Optimize>true</Optimize>
</PropertyGroup>
<!-- Import local user props -->
<Import Project="$(SolutionDir)LethalFixes.props.user" Condition="$(CI) != 'true'" />
</Project>