forked from lc-sigurd/CSync
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
87 lines (76 loc) · 3.74 KB
/
Directory.Build.props
File metadata and controls
87 lines (76 loc) · 3.74 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
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
82
83
84
85
86
87
<Project InitialTargets="InitializeProps" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="Sdk.props" Sdk="Sigurd.Thunderstore.Sdk" />
<!-- Build configurations -->
<PropertyGroup>
<Configurations>Debug;Release;DebugExamplePlugin;ReleaseExamplePlugin</Configurations>
<Platforms>AnyCPU</Platforms>
</PropertyGroup>
<!-- compiler/msbuild switches -->
<PropertyGroup>
<RestoreAdditionalProjectSources>
https://api.nuget.org/v3/index.json;
https://nuget.bepinex.dev/v3/index.json;
https://nuget.samboy.dev/v3/index.json
</RestoreAdditionalProjectSources>
<NeutralLanguage>en-GB</NeutralLanguage>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<NoWarn>$(NoWarn);1701;1702;0436</NoWarn>
<DebugType>embedded</DebugType>
<ClearCopyLocalPaths>true</ClearCopyLocalPaths>
</PropertyGroup>
<!-- NuGet metadata -->
<PropertyGroup>
<Authors>Owen3H;Lordfirespeed</Authors>
<Company>Sigurd Team</Company>
<IsPackable>false</IsPackable>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<RepositoryUrl>https://github.com/lc-sigurd/CSync</RepositoryUrl>
<PackageProjectUrl>https://thunderstore.io/c/lethal-company/p/Sigurd/CSync</PackageProjectUrl>
<RepositoryType>git</RepositoryType>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
<ItemGroup>
<None Include="$(ProjectDir)../README.md" Pack="true" PackagePath="/"/>
<None Include="$(ProjectDir)../LICENSE" Pack="true" PackagePath="/"/>
</ItemGroup>
<!-- Thunderstore metadata -->
<PropertyGroup>
<IsThunderstorePackable>false</IsThunderstorePackable>
<ThunderstoreNamespace>Sigurd</ThunderstoreNamespace>
<ThunderstoreWebsiteUrl>$(RepositoryUrl)</ThunderstoreWebsiteUrl>
<ThunderstoreReadmePath>$(MSBuildProjectDirectory)/../README.md</ThunderstoreReadmePath>
</PropertyGroup>
<ItemGroup>
<ThunderstoreBuildCopyPath Include="$(ProjectDir)assets/bundles" Destination="BepInEx/plugins/$(ProjectName)/bundles"/>
<ThunderstoreBuildCopyPath Include="$(ProjectDir)../LICENSE" Destination="/"/>
<ThunderstorePublishCommunity Include="lethal-company" CategorySlugs="misc"/>
<ThunderstoreDependency Include="BepInEx-BepInExPack" Version="5.4.2100" Reference="false" />
</ItemGroup>
<!-- .NET Framework (.NET 4) reference assemblies -->
<ItemGroup Condition="'$(TargetFramework.TrimEnd(`0123456789`))' == 'net'">
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="all"/>
</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" />
<PreThunderstorePackTargetName Include="NetcodePatch" />
</ItemGroup>
<!-- Release optimisations -->
<PropertyGroup Condition="$(Configuration) == 'Release'">
<Optimize>true</Optimize>
</PropertyGroup>
<!-- Import local user props -->
<Import Project="$(SolutionDir)CSync.props.user" Condition="$(CI) != 'true'"/>
<!-- Dummy target to execute 'initially' -->
<Target Name="InitializeProps" />
</Project>