This repository has been archived by the owner on Oct 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathOutflow.csproj
72 lines (56 loc) · 2.73 KB
/
Outflow.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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<DocumentationFile>./Docs.xml</DocumentationFile>
<Version>1.0.1</Version>
<AssemblyVersion>$(Version)</AssemblyVersion>
<Authors>Cyro</Authors>
<Product>Outflow packet manager</Product>
<Description>Mitigate hitching when new users join a session in Resonite</Description>
<Copyright>Copyright (c) 2023 Riley Fields</Copyright>
<ReleaseBuild>./ReleaseBuild/</ReleaseBuild>
</PropertyGroup>
<!--This will test for the default Steam installation paths for Resonite on Windows and Linux.-->
<PropertyGroup Condition="'$(ResonitePath)'==''">
<ResonitePath Condition="'$(OS)' == 'Windows_NT' and Exists('C:/Program Files (x86)/Steam/steamapps/common/Resonite/')">C:/Program Files (x86)/Steam/steamapps/common/Resonite/</ResonitePath>
<ResonitePath Condition="'$(OS)' != 'Windows_NT' and Exists('$(HOME)/.local/share/Steam/steamapps/common/Resonite/')">$(HOME)/.local/share/Steam/steamapps/common/Resonite/</ResonitePath>
<!--If neither path above exists, you can define your custom Resonite install directory here -->
<ResonitePath Condition="'$(ResonitePath)'==''">/Custom/Resonite/Install/Path</ResonitePath>
<!--HeadlessPath>$(ResonitePath)Headless\</HeadlessPath-->
</PropertyGroup>
<ItemGroup>
<Reference Include="ResoniteModLoader">
<HintPath>$(ResonitePath)Libraries/ResoniteModLoader.dll</HintPath>
</Reference>
<Reference Include="FrooxEngine">
<HintPath>$(ResonitePath)Resonite_Data/Managed/FrooxEngine.dll</HintPath>
</Reference>
<Reference Include="Elements.Core">
<HintPath>$(ResonitePath)Resonite_Data/Managed/Elements.Core.dll</HintPath>
</Reference>
<Reference Include="Elements.Assets">
<HintPath>$(ResonitePath)Resonite_Data/Managed/Elements.Assets.dll</HintPath>
</Reference>
<Reference Include="0Harmony">
<HintPath>$(ResonitePath)Libraries/0Harmony.dll</HintPath>
</Reference>
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<!--Copy SourceFiles="$(OutDir)$(TargetFileName)" DestinationFolder="./" /-->
</Target>
<Target Name="MoveBinary" AfterTargets="Publish">
<Copy SourceFiles="$(PublishDir)$(TargetFileName)" DestinationFolder="$(ReleaseBuild)" />
</Target>
<Target Name="DeepClean" AfterTargets="Clean">
<RemoveDir Directories="./bin" />
<RemoveDir Directories="./obj" />
<ItemGroup>
<FilesToDelete Include="$(ReleaseBuild)**/*" />
</ItemGroup>
<Delete Files="@(FilesToDelete)" />
<Exec Command="dotnet restore" />
</Target>
</Project>