|
6 | 6 | <Nullable>disable</Nullable> |
7 | 7 | <LangVersion>latest</LangVersion> |
8 | 8 | <GenerateAssemblyInfo>false</GenerateAssemblyInfo> |
9 | | - <ReferencePath>C:\Program Files (x86)\Steam\steamapps\common\Muse Dash</ReferencePath> |
| 9 | + <ReferencePath>$(MD_NET6_DIRECTORY)</ReferencePath> |
| 10 | + <Platforms>AnyCPU;x64</Platforms> |
10 | 11 | </PropertyGroup> |
11 | 12 |
|
12 | 13 | <ItemGroup> |
13 | 14 | <Reference Include="0Harmony"> |
14 | | - <HintPath>C:\Program Files (x86)\Steam\steamapps\common\Muse Dash\MelonLoader\net6\0Harmony.dll</HintPath> |
| 15 | + <HintPath>$(MD_NET6_DIRECTORY)\MelonLoader\net6\0Harmony.dll</HintPath> |
15 | 16 | <Private>False</Private> |
16 | 17 | </Reference> |
17 | 18 | <Reference Include="Assembly-CSharp"> |
18 | | - <HintPath>C:\Program Files (x86)\Steam\steamapps\common\Muse Dash\MelonLoader\Il2CppAssemblies\Assembly-CSharp.dll</HintPath> |
| 19 | + <HintPath>$(MD_NET6_DIRECTORY)\MelonLoader\Il2CppAssemblies\Assembly-CSharp.dll</HintPath> |
19 | 20 | <Private>False</Private> |
20 | 21 | </Reference> |
21 | 22 | <Reference Include="Il2CppInterop.Runtime"> |
22 | | - <HintPath>C:\Program Files (x86)\Steam\steamapps\common\Muse Dash\MelonLoader\net6\Il2CppInterop.Runtime.dll</HintPath> |
| 23 | + <HintPath>$(MD_NET6_DIRECTORY)\MelonLoader\net6\Il2CppInterop.Runtime.dll</HintPath> |
23 | 24 | <Private>False</Private> |
24 | 25 | </Reference> |
25 | 26 | <Reference Include="Il2Cppmscorlib"> |
26 | | - <HintPath>C:\Program Files (x86)\Steam\steamapps\common\Muse Dash\MelonLoader\Il2CppAssemblies\Il2Cppmscorlib.dll</HintPath> |
| 27 | + <HintPath>$(MD_NET6_DIRECTORY)\MelonLoader\Il2CppAssemblies\Il2Cppmscorlib.dll</HintPath> |
27 | 28 | <Private>False</Private> |
28 | 29 | </Reference> |
29 | 30 | <Reference Include="Il2CppSirenix.Serialization"> |
30 | | - <HintPath>C:\Program Files (x86)\Steam\steamapps\common\Muse Dash\MelonLoader\Il2CppAssemblies\Il2CppSirenix.Serialization.dll</HintPath> |
| 31 | + <HintPath>$(MD_NET6_DIRECTORY)\MelonLoader\Il2CppAssemblies\Il2CppSirenix.Serialization.dll</HintPath> |
31 | 32 | <Private>False</Private> |
32 | 33 | </Reference> |
33 | 34 | <Reference Include="MelonLoader"> |
34 | | - <HintPath>C:\Program Files (x86)\Steam\steamapps\common\Muse Dash\MelonLoader\net6\MelonLoader.dll</HintPath> |
| 35 | + <HintPath>$(MD_NET6_DIRECTORY)\MelonLoader\net6\MelonLoader.dll</HintPath> |
35 | 36 | <Private>False</Private> |
36 | 37 | </Reference> |
37 | 38 | <Reference Include="Tomlet"> |
38 | | - <HintPath>C:\Program Files (x86)\Steam\steamapps\common\Muse Dash\MelonLoader\net6\Tomlet.dll</HintPath> |
| 39 | + <HintPath>$(MD_NET6_DIRECTORY)\MelonLoader\net6\Tomlet.dll</HintPath> |
39 | 40 | <Private>False</Private> |
40 | 41 | </Reference> |
41 | 42 | <Reference Include="UnityEngine.AudioModule"> |
42 | | - <HintPath>C:\Program Files (x86)\Steam\steamapps\common\Muse Dash\MelonLoader\Il2CppAssemblies\UnityEngine.AudioModule.dll</HintPath> |
| 43 | + <HintPath>$(MD_NET6_DIRECTORY)\MelonLoader\Il2CppAssemblies\UnityEngine.AudioModule.dll</HintPath> |
43 | 44 | <Private>False</Private> |
44 | 45 | </Reference> |
45 | 46 | <Reference Include="UnityEngine.CoreModule"> |
46 | | - <HintPath>C:\Program Files (x86)\Steam\steamapps\common\Muse Dash\MelonLoader\Il2CppAssemblies\UnityEngine.CoreModule.dll</HintPath> |
| 47 | + <HintPath>$(MD_NET6_DIRECTORY)\MelonLoader\Il2CppAssemblies\UnityEngine.CoreModule.dll</HintPath> |
47 | 48 | <Private>False</Private> |
48 | 49 | </Reference> |
49 | 50 | <Reference Include="UnityEngine.UI"> |
50 | | - <HintPath>C:\Program Files (x86)\Steam\steamapps\common\Muse Dash\MelonLoader\Il2CppAssemblies\UnityEngine.UI.dll</HintPath> |
| 51 | + <HintPath>$(MD_NET6_DIRECTORY)\MelonLoader\Il2CppAssemblies\UnityEngine.UI.dll</HintPath> |
51 | 52 | <Private>False</Private> |
52 | 53 | </Reference> |
53 | 54 | </ItemGroup> |
54 | 55 |
|
55 | 56 | <Target Name="CopyMods" AfterTargets="Build"> |
56 | | - <Copy SourceFiles="$(OutputPath)\$(AssemblyName).dll" DestinationFolder="$(ReferencePath)\Mods"/> |
57 | | - <Message Text="Copied DLL -> $(ReferencePath)\Mods\$(ProjectName).dll" Importance="High"/> |
| 57 | + <Copy SourceFiles="$(OutputPath)\$(AssemblyName).dll" DestinationFolder="$(ReferencePath)\Mods" /> |
| 58 | + <Message Text="Copied DLL -> $(ReferencePath)\Mods\$(ProjectName).dll" Importance="High" /> |
58 | 59 | </Target> |
59 | 60 |
|
60 | 61 | </Project> |
0 commit comments