-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathTimeline.csproj
76 lines (75 loc) · 2.8 KB
/
Timeline.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
<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="'$(TimelineModPath)' == '' And Exists('$(BattleTechGameDir)\Mods\Core\Timeline')">
<!-- RogueTech -->
<TimelineModPath>$(BattleTechGameDir)\Mods\Core\Timeline</TimelineModPath>
</PropertyGroup>
<PropertyGroup Condition="'$(TimelineModPath)' == '' And Exists('$(BattleTechGameDir)\Mods\Timeline')">
<!-- flat dir -->
<TimelineModPath>$(BattleTechGameDir)\Mods\Timeline</TimelineModPath>
</PropertyGroup>
<PropertyGroup Condition="'$(TimelineModPath)' == ''">
<!-- sources dir -->
<TimelineModPath>$(MSBuildProjectDirectory)\..</TimelineModPath>
</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="$(TimelineModPath)" />
</Target>
<PropertyGroup>
<!-- avoids IgnoresAccessChecksToAttribute warnings -->
<PublicizerRuntimeStrategies>Unsafe</PublicizerRuntimeStrategies>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<FileVersion>1.1.0.0</FileVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Krafs.Publicizer" Version="2.2.1" />
<Publicize Include="Assembly-CSharp" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="HarmonyX" Version="2.10.1">
<PrivateAssets>all</PrivateAssets>
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<Reference Include="Assembly-CSharp">
<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="Unity.TextMeshPro">
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.UI">
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.CoreModule">
<Private>False</Private>
</Reference>
</ItemGroup>
</Project>