-
Notifications
You must be signed in to change notification settings - Fork 1
/
TisButAScratch.csproj
88 lines (87 loc) · 3.38 KB
/
TisButAScratch.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
<Project Sdk="Microsoft.NET.Sdk" InitialTargets="ValidateBattleTechGameDir">
<Target Name="ValidateBattleTechGameDir" Condition="'$(BattleTechGameDir)' == '' Or !Exists('$(BattleTechGameDir)')">
<Error Text="BattleTechGameDir variable not set properly" />
</Target>
<PropertyGroup Condition="'$(TisButAScratchModPath)' == '' And Exists('$(BattleTechGameDir)\Mods\Core\TisButAScratch')">
<!-- RogueTech -->
<TisButAScratchModPath>$(BattleTechGameDir)\Mods\Core\TisButAScratch</TisButAScratchModPath>
</PropertyGroup>
<PropertyGroup Condition="'$(TisButAScratchModPath)' == '' And Exists('$(BattleTechGameDir)\Mods\TisButAScratch')">
<!-- flat dir -->
<TisButAScratchModPath>$(BattleTechGameDir)\Mods\TisButAScratch</TisButAScratchModPath>
</PropertyGroup>
<PropertyGroup Condition="'$(TisButAScratchModPath)' == ''">
<!-- sources dir -->
<TisButAScratchModPath>$(MSBuildProjectDirectory)\..</TisButAScratchModPath>
</PropertyGroup>
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net472</TargetFramework>
<LangVersion>11</LangVersion>
<AssemblySearchPaths>
$(ReferencePath);
{HintPathFromItem};
$(BattleTechGameDir)\BattleTech_Data\Managed\
</AssemblySearchPaths>
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
<DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols>
</PropertyGroup>
<Target Name="CopyFilesToGame" AfterTargets="CopyFilesToOutputDirectory">
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(TisButAScratchModPath)" />
</Target>
<PropertyGroup>
<!-- avoids IgnoresAccessChecksToAttribute warnings -->
<PublicizerRuntimeStrategies>Unsafe</PublicizerRuntimeStrategies>
<AssemblyVersion>1.1.2.4</AssemblyVersion>
<FileVersion>1.1.2.4</FileVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Krafs.Publicizer" Version="2.2.1" />
<Publicize Include="Assembly-CSharp" />
<Publicize Include="Assembly-CSharp-firstpass" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="HarmonyX" Version="2.10.1">
<PrivateAssets>all</PrivateAssets>
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<Reference Include="IRBTModUtils">
<HintPath>$(TisButAScratchModPath)\..\IRBTModUtils\IRBTModUtils.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="CustomComponents">
<HintPath>$(TisButAScratchModPath)\..\CustomComponents\CustomComponents.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Assembly-CSharp">
<Private>False</Private>
</Reference>
<Reference Include="Assembly-CSharp-firstpass">
<Private>False</Private>
</Reference>
<Reference Include="Newtonsoft.Json">
<Private>False</Private>
</Reference>
<Reference Include="System">
<Private>False</Private>
</Reference>
<Reference Include="System.Core">
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine">
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.UI">
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.CoreModule">
<Private>False</Private>
</Reference>
<Reference Include="Unity.TextMeshPro">
<Private>False</Private>
</Reference>
</ItemGroup>
</Project>