|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
3 | 3 | <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
| 4 | + <Import Project="$(MSBuildProjectDirectory)\..\Props\common.props" |
| 5 | + Condition="Exists('$(MSBuildProjectDirectory)\..\Props\common.props')" /> |
4 | 6 | <PropertyGroup> |
5 | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
6 | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
|
17 | 19 | <DebugSymbols>false</DebugSymbols> |
18 | 20 | <DebugType>full</DebugType> |
19 | 21 | <Optimize>false</Optimize> |
20 | | - <OutputPath>D:\Games\Steam\steamapps\common\Going Medieval\mods</OutputPath> |
| 22 | + <OutputPath>$(GameDir)\mods</OutputPath> |
21 | 23 | <DefineConstants>DEBUG;TRACE</DefineConstants> |
22 | 24 | <ErrorReport>prompt</ErrorReport> |
23 | 25 | <WarningLevel>4</WarningLevel> |
|
26 | 28 | <PlatformTarget>AnyCPU</PlatformTarget> |
27 | 29 | <DebugType>pdbonly</DebugType> |
28 | 30 | <Optimize>true</Optimize> |
29 | | - <OutputPath>D:\Games\Steam\steamapps\common\Going Medieval\mods</OutputPath> |
| 31 | + <OutputPath>$(GameDir)\mods</OutputPath> |
30 | 32 | <DefineConstants>TRACE</DefineConstants> |
31 | 33 | <ErrorReport>prompt</ErrorReport> |
32 | 34 | <WarningLevel>4</WarningLevel> |
|
36 | 38 | <HintPath>libs\0Harmony.dll</HintPath> |
37 | 39 | </Reference> |
38 | 40 | <Reference Include="Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> |
39 | | - <HintPath>..\libs\Assembly-CSharp.dll</HintPath> |
| 41 | + <HintPath>$(GameDir)\Going Medieval_Data\Managed\Assembly-CSharp.dll</HintPath> |
| 42 | + </Reference> |
| 43 | + <Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed"> |
| 44 | + <HintPath>$(GameDir)\Going Medieval_Data\Managed\Newtonsoft.Json.dll</HintPath> |
40 | 45 | </Reference> |
41 | 46 | <Reference Include="UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> |
42 | | - <HintPath>..\libs\UnityEngine.dll</HintPath> |
| 47 | + <HintPath>$(GameDir)\Going Medieval_Data\Managed\UnityEngine.dll</HintPath> |
43 | 48 | </Reference> |
44 | 49 | <Reference Include="UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> |
45 | | - <HintPath>..\libs\UnityEngine.CoreModule.dll</HintPath> |
| 50 | + <HintPath>$(GameDir)\Going Medieval_Data\Managed\UnityEngine.CoreModule.dll</HintPath> |
46 | 51 | </Reference> |
47 | 52 | <Reference Include="UnityEngine.IMGUIModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> |
48 | | - <HintPath>..\libs\UnityEngine.IMGUIModule.dll</HintPath> |
| 53 | + <HintPath>$(GameDir)\Going Medieval_Data\Managed\UnityEngine.IMGUIModule.dll</HintPath> |
49 | 54 | </Reference> |
50 | 55 | <Reference Include="UnityEngine.InputLegacyModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> |
51 | | - <HintPath>..\libs\UnityEngine.InputLegacyModule.dll</HintPath> |
| 56 | + <HintPath>$(GameDir)\Going Medieval_Data\Managed\UnityEngine.InputLegacyModule.dll</HintPath> |
52 | 57 | </Reference> |
53 | 58 | <Reference Include="UnityEngine.InputModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> |
54 | | - <HintPath>..\libs\UnityEngine.InputModule.dll</HintPath> |
| 59 | + <HintPath>$(GameDir)\Going Medieval_Data\Managed\UnityEngine.InputModule.dll</HintPath> |
55 | 60 | </Reference> |
56 | 61 | <Reference Include="UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"> |
57 | | - <HintPath>..\libs\UnityEngine.UI.dll</HintPath> |
| 62 | + <HintPath>$(GameDir)\Going Medieval_Data\Managed\UnityEngine.UI.dll</HintPath> |
58 | 63 | </Reference> |
59 | 64 | </ItemGroup> |
60 | 65 | <ItemGroup> |
|
63 | 68 | <Compile Include="src\Launcher.cs" /> |
64 | 69 | <Compile Include="src\plugins\IPlugin.cs" /> |
65 | 70 | <Compile Include="src\plugins\PluginComponent.cs" /> |
| 71 | + <Compile Include="src\plugins\PluginContainer.cs" /> |
66 | 72 | <Compile Include="src\plugins\PluginManager.cs" /> |
67 | | - <Compile Include="src\ui\MainMennuPatch.cs" /> |
| 73 | + <Compile Include="src\ui\MainMenuPatch.cs" /> |
68 | 74 | <Compile Include="src\ui\ModManagerLogWindow.cs" /> |
69 | 75 | <Compile Include="src\ui\ModManagerWindow.cs" /> |
70 | 76 | <Compile Include="src\ui\PromptQueue.cs" /> |
|
0 commit comments