-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathLethalIntelligence.csproj
152 lines (143 loc) · 5.83 KB
/
LethalIntelligence.csproj
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<Project Sdk="Microsoft.NET.Sdk">
<!-- BepInEx Properties -->
<PropertyGroup>
<AssemblyName>LethalIntelligence</AssemblyName>
<Product>LethalIntelligence</Product>
<!-- Change to whatever version you're currently on. -->
<Version>0.4.6</Version>
<!-- Hiding the "Git Commit Hash" from the product version in file properties -->
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
</PropertyGroup>
<!-- Project Properties -->
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<RootNamespace>LethalIntelligence</RootNamespace>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<!-- Enable Nullable for better IDE null-checking -->
<PropertyGroup>
<Nullable>enable</Nullable>
</PropertyGroup>
<!-- Set NuGet Sources -->
<PropertyGroup>
<RestoreAdditionalProjectSources>
https://api.nuget.org/v3/index.json;
https://nuget.bepinex.dev/v3/index.json
</RestoreAdditionalProjectSources>
</PropertyGroup>
<!-- Embed Debug Symbols for Easier Debugging -->
<PropertyGroup>
<DebugSymbols>true</DebugSymbols>
<DebugType>embedded</DebugType>
<!--
Trim the project path to prevent players from potentially
viewing Private Information in stack traces.
-->
<PathMap>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)'))=./</PathMap>
<Authors>VirusTLNR</Authors>
<PackageId>$(AssemblyName)</PackageId>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="SkinwalkerMod">
<HintPath>CompatibilityDLLs\SkinwalkerMod.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="CompatibilityDLLs\SkinwalkerMod.dll">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</ApplicationDefinition>
</ItemGroup>
<ItemGroup>
<Reference Include="Wendigos">
<HintPath>CompatibilityDLLs\Wendigos.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="CompatibilityDLLs\Wendigos.dll">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</ApplicationDefinition>
</ItemGroup>
<ItemGroup>
<Reference Include="Mirage">
<HintPath>CompatibilityDLLs\Mirage.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="CompatibilityDLLs\Mirage.dll">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</ApplicationDefinition>
</ItemGroup>
<ItemGroup>
<Reference Include="Mirage.Core">
<HintPath>CompatibilityDLLs\Mirage.Core.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="CompatibilityDLLs\Mirage.Core.dll">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</ApplicationDefinition>
</ItemGroup>
<ItemGroup>
<Reference Include="Imperium">
<HintPath>CompatibilityDLLs\giosuel.Imperium.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="CompatibilityDLLs\giosuel.Imperium.dll">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</ApplicationDefinition>
</ItemGroup>
<!-- Primary Package References -->
<ItemGroup>
<PackageReference Include="BepInEx.Analyzers" Version="1.*" PrivateAssets="all" />
<PackageReference Include="BepInEx.Core" Version="5.*" PrivateAssets="all" />
<PackageReference Include="LethalCompany.GameLibs.Steam" Version="*-*" PrivateAssets="all" />
<PackageReference Include="UnityEngine.Modules" Version="2022.3.9" IncludeAssets="compile" PrivateAssets="all" />
<PackageReference Include="TeamBMX.LobbyCompatibility" Version="1.*" PrivateAssets="all" />
<PackageReference Include="Xilophor.LethalNetworkAPI" Version="3.3.2" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework.TrimEnd(`0123456789`))' == 'net'">
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<None Update="LICENSE.txt">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>
<!-- Adding in my own PluginInfo config -->
<Target Name="AddGeneratedFile" BeforeTargets="BeforeCompile;CoreCompile" Inputs="$(MSBuildAllProjects)" Outputs="$(IntermediateOutputPath)GeneratedFile.cs">
<PropertyGroup>
<BepInExPluginGuid Condition="'$(BepInExPluginGuid)' == ''">$(AssemblyName)</BepInExPluginGuid>
<BepInExPluginName Condition="'$(BepInExPluginName)' == ''">$(Product)</BepInExPluginName>
<BepInExPluginVersion Condition="'$(BepInExPluginVersion)' == ''">$(Version)</BepInExPluginVersion>
<GeneratedText>
<![CDATA[
namespace $(RootNamespace)
{
internal static class PluginInfo
{
//built automatically in project file so dont waste time editing this "PluginInfo.cs", go edit the Project File! this doesnt use BepInEx.PluginInfoProps so dont re-install it!
public const string PLUGIN_GUID = "$(Authors).$(BepInExPluginGuid)"%3B
public const string PLUGIN_NAME = "$(BepInExPluginName)"%3B
public const string PLUGIN_VERSION = "$(BepInExPluginVersion)"%3B
}
}
]]>
</GeneratedText>
<GeneratedFilePath>$(IntermediateOutputPath)PluginInfo.cs</GeneratedFilePath>
</PropertyGroup>
<ItemGroup>
<Compile Include="$(GeneratedFilePath)" />
<FileWrites Include="$(GeneratedFilePath)" />
</ItemGroup>
<WriteLinesToFile Lines="$(GeneratedText)" File="$(GeneratedFilePath)" WriteOnlyWhenDifferent="true" Overwrite="true" />
</Target>
</Project>