-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgregCore.csproj
More file actions
90 lines (84 loc) · 6.68 KB
/
Copy pathgregCore.csproj
File metadata and controls
90 lines (84 loc) · 6.68 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
88
89
90
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
<PlatformTarget>x64</PlatformTarget>
<AssemblyName>gregCore</AssemblyName>
<NoWarn>CS1701;CS1702;MSB3243;MSB3245</NoWarn>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<EnableDefaultEmbeddedResourceItems>false</EnableDefaultEmbeddedResourceItems>
<EnableDefaultNoneItems>false</EnableDefaultNoneItems>
<Version>1.2.1</Version>
<FileVersion>1.2.1</FileVersion>
<AssemblyVersion>1.2.1.0</AssemblyVersion>
</PropertyGroup>
<ItemGroup>
<Compile Include="src\**\*.cs" />
<None Include="README.md" />
</ItemGroup>
<ItemGroup>
<Reference Include="MelonLoader"><HintPath>references/MelonLoader.dll</HintPath><Private>false</Private></Reference>
<Reference Include="0Harmony"><HintPath>references/0Harmony.dll</HintPath><Private>false</Private></Reference>
<Reference Include="Il2CppInterop.Runtime"><HintPath>references/Il2CppInterop.Runtime.dll</HintPath><Private>false</Private></Reference>
<Reference Include="Il2CppInterop.Common"><HintPath>references/Il2CppInterop.Common.dll</HintPath><Private>false</Private></Reference>
<Reference Include="Il2Cppmscorlib"><HintPath>references/Il2Cppmscorlib.dll</HintPath><Private>false</Private></Reference>
<Reference Include="Il2CppSystem"><HintPath>references/Il2CppSystem.dll</HintPath><Private>false</Private></Reference>
<Reference Include="Il2CppSystem.Core"><HintPath>references/Il2CppSystem.Core.dll</HintPath><Private>false</Private></Reference>
<Reference Include="Assembly-CSharp"><HintPath>references/Assembly-CSharp.dll</HintPath><Private>false</Private></Reference>
<Reference Include="UnityEngine.CoreModule"><HintPath>references/UnityEngine.CoreModule.dll</HintPath><Private>false</Private></Reference>
<Reference Include="UnityEngine.UI"><HintPath>references/UnityEngine.UI.dll</HintPath><Private>false</Private></Reference>
<Reference Include="UnityEngine.UIModule"><HintPath>references/UnityEngine.UIModule.dll</HintPath><Private>false</Private></Reference>
<Reference Include="UnityEngine.AIModule"><HintPath>references/UnityEngine.AIModule.dll</HintPath><Private>false</Private></Reference>
<Reference Include="UnityEngine.AnimationModule"><HintPath>references/UnityEngine.AnimationModule.dll</HintPath><Private>false</Private></Reference>
<Reference Include="UnityEngine.ImageConversionModule"><HintPath>references/UnityEngine.ImageConversionModule.dll</HintPath><Private>false</Private></Reference>
<Reference Include="UnityEngine.PhysicsModule"><HintPath>references/UnityEngine.PhysicsModule.dll</HintPath><Private>false</Private></Reference>
<Reference Include="UnityEngine.TextRenderingModule"><HintPath>references/UnityEngine.TextRenderingModule.dll</HintPath><Private>false</Private></Reference>
<Reference Include="UnityEngine.UIElementsModule"><HintPath>references/UnityEngine.UIElementsModule.dll</HintPath><Private>false</Private></Reference>
<Reference Include="UnityEngine.AssetBundleModule"><HintPath>references/UnityEngine.AssetBundleModule.dll</HintPath><Private>false</Private></Reference>
<Reference Include="UnityEngine.TextCoreTextEngineModule"><HintPath>references/UnityEngine.TextCoreTextEngineModule.dll</HintPath><Private>false</Private></Reference>
<Reference Include="UnityEngine.TextCoreFontEngineModule"><HintPath>references/UnityEngine.TextCoreFontEngineModule.dll</HintPath><Private>false</Private></Reference>
<Reference Include="Unity.InputSystem"><HintPath>references/Unity.InputSystem.dll</HintPath><Private>false</Private></Reference>
<Reference Include="Unity.TextMeshPro"><HintPath>references/Unity.TextMeshPro.dll</HintPath><Private>false</Private></Reference>
<Reference Include="Unity.Entities"><HintPath>references/Unity.Entities.dll</HintPath><Private>false</Private></Reference>
<Reference Include="Unity.RenderPipelines.HighDefinition.Runtime"><HintPath>references/Unity.RenderPipelines.HighDefinition.Runtime.dll</HintPath><Private>false</Private></Reference>
<Reference Include="Unity.RenderPipelines.Core.Runtime"><HintPath>references/Unity.RenderPipelines.Core.Runtime.dll</HintPath><Private>false</Private></Reference>
<Reference Include="Il2CppUMA_Core"><HintPath>references/Il2CppUMA_Core.dll</HintPath><Private>false</Private></Reference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Jint" Version="4.8.0" />
<PackageReference Include="LiteDB" Version="5.0.21" />
<PackageReference Include="Mono.Cecil" Version="0.11.6" />
<PackageReference Include="MoonSharp" Version="2.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="pythonnet" Version="3.0.5" />
</ItemGroup>
<!-- Automatic ILRepack disabled due to IL2CPP reference conflicts. Use deploy/unify-core.ps1 instead. -->
<PropertyGroup>
<GameModsPath Condition="'$(GameModsPath)' == '' AND '$(GREG_GAME_MODS)' != ''">$(GREG_GAME_MODS)</GameModsPath>
<GameModsPath Condition="'$(GameModsPath)' == ''">C:\Program Files (x86)\Steam\steamapps\common\Data Center\Mods</GameModsPath>
</PropertyGroup>
<Target Name="DeployToGame" AfterTargets="CleanupAfterBuild" Condition="Exists('$(GameModsPath)')">
<Copy SourceFiles="$(OutputPath)$(AssemblyName).dll"
DestinationFolder="$(GameModsPath)"
OverwriteReadOnlyFiles="true"
ContinueOnError="ErrorAndContinue" />
<Error Condition="!Exists('$(GameModsPath)\$(AssemblyName).dll') OR '$([System.IO.File]::GetLastWriteTime("$(GameModsPath)\$(AssemblyName).dll").Ticks)' < '$([System.IO.File]::GetLastWriteTime("$(OutputPath)$(AssemblyName).dll").Ticks)'"
Text="[Deploy FAILED] Could not copy $(AssemblyName).dll to $(GameModsPath) — is the game running and has the DLL locked? Close the game and rebuild." />
<Message Text="[Deploy] $(AssemblyName).dll → $(GameModsPath)" Importance="high" />
</Target>
<ItemGroup>
<Compile Remove="src\CI_Stubs.cs" />
<Compile Remove="tests\**" />
<Compile Remove="plugins\**" />
<Compile Remove="mods\**" />
<Compile Remove="lib\MoonSharp\**" />
<Compile Remove="temp_dump\**" />
<Compile Remove="src\greg.Multiplayer\**" />
<Compile Remove="src\Compatibility\DataCenterModLoader\**" />
<Compile Remove="src\API\CustomEmployeeManager.cs" />
</ItemGroup>
</Project>