This repository has been archived by the owner on Dec 2, 2024. It is now read-only.
forked from loukylor/VRC-Mods
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
45 lines (43 loc) · 2.32 KB
/
Directory.Build.props
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
<Project>
<PropertyGroup>
<LangVersion>9.0</LangVersion>
<TargetFramework>net472</TargetFramework>
<VRChatPath>$(MSBuildThisFileDirectory)VRChat</VRChatPath>
<VRChatPath Condition="Exists('C:/Program Files (x86)/Steam/steamapps/common/VRChat/')">C:/Program Files (x86)/Steam/steamapps/common/VRChat/</VRChatPath>
<VRChatPath Condition="Exists('$(HOME)/.steam/steam/steamapps/common/VRChat/')">$(HOME)/.steam/steam/steamapps/common/VRChat/</VRChatPath>
<BaseOutputPath>$(MSBuildThisFileDirectory)bin</BaseOutputPath>
<Deterministic>true</Deterministic>
<CopyLocal>false</CopyLocal>
<CopyModFiles Condition="'$(CopyModFiles)'==''">true</CopyModFiles>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<DebugSymbols Condition="'$(Configuration)'=='Release'">false</DebugSymbols>
<DebugType Condition="'$(Configuration)'=='Release'">None</DebugType>
</PropertyGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(CopyModFiles)'=='true'">
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(VRChatPath)Mods" />
</Target>
<ItemGroup>
<Reference Include="Assembly-CSharp">
<HintPath>$(VRChatPath)MelonLoader\Managed\Assembly-CSharp.dll</HintPath>
</Reference>
<Reference Include="MelonLoader">
<HintPath>$(VRChatPath)MelonLoader\MelonLoader.dll</HintPath>
</Reference>
<Reference Include="Il2Cppmscorlib">
<HintPath>$(VRChatPath)MelonLoader\Managed\Il2Cppmscorlib.dll</HintPath>
</Reference>
<Reference Include="UnhollowerBaseLib">
<HintPath>$(VRChatPath)MelonLoader\Managed\UnhollowerBaseLib.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.CoreModule">
<HintPath>$(VRChatPath)MelonLoader\Managed\UnityEngine.CoreModule.dll</HintPath>
</Reference>
</ItemGroup>
<!-- make all references non-private, so they won't be copied to the output folder -->
<Target Name="ClearReferenceCopyLocalPaths" AfterTargets="ResolveAssemblyReferences">
<ItemGroup>
<ReferenceCopyLocalPaths Remove="@(ReferenceCopyLocalPaths)" />
</ItemGroup>
</Target>
</Project>