-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathResonitePackageExporter.csproj
More file actions
107 lines (94 loc) · 4.43 KB
/
ResonitePackageExporter.csproj
File metadata and controls
107 lines (94 loc) · 4.43 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AppName>NeosVR</AppName>
<AppNameShort>Neos</AppNameShort>
<Product>ResonitePackageExporter</Product>
<Version>0.1.6</Version>
<Company>New_Project_Final_Final_WIP</Company>
<Copyright>Copyright © $(Company) 2024</Copyright>
<Authors>$(Company)</Authors>
<AssemblyTitle>$(Product)</AssemblyTitle>
<AssemblyName>$(Product)</AssemblyName>
<RootNamespace>ResonitePackageExporter</RootNamespace>
<ProjectGuid>{E5F0F18C-50AE-4491-AE4B-70FC0DD37FC9}</ProjectGuid>
</PropertyGroup>
<PropertyGroup>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<TargetFramework>net472</TargetFramework>
<LangVersion>12.0</LangVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup>
<CopyLocal>false</CopyLocal>
<DoAutoPostX Condition="'$(DoAutoPostX)'==''">true</DoAutoPostX>
<CopyToLibraries Condition="'$(CopyToLibraries)'==''">true</CopyToLibraries>
<DebugSymbols Condition="'$(Configuration)'=='Release'">false</DebugSymbols>
<DebugType Condition="'$(Configuration)'=='Release'">pdbonly</DebugType>
</PropertyGroup>
<ItemGroup>
<None Include="Properties\launchSettings.json" />
<None Include="..\README.md" Link="README.md" />
</ItemGroup>
<PropertyGroup>
<AppPath>$(MSBuildThisFileDirectory)$(AppName)</AppPath>
<AppPath Condition="Exists('E:\Programs\Steam\steamapps\common\$(AppName)')">E:\Programs\Steam\steamapps\common\$(AppName)</AppPath>
<AppPath Condition="Exists('E:\SteamLibrary\steamapps\common\$(AppName)')">E:\SteamLibrary\steamapps\common\$(AppName)</AppPath>
<AppPath Condition="Exists('$(HOME)/.steam/steam/steamapps/common/$(AppName)')">$(HOME)/.steam/steam/steamapps/common/$(AppName)</AppPath>
<AppPath Condition="Exists('C:\Program Files (x86)\Steam\steamapps\common\$(AppName)')">C:\Program Files (x86)\Steam\steamapps\common\$(AppName)</AppPath>
<!--Leaving the trailing \ out for the powershell script later-->
<AppData Condition="Exists('$(AppPath)\$(AppNameShort)_Data')">$(AppPath)\$(AppNameShort)_Data\Managed</AppData>
<AlternateDataPath>$(AppPath)\Alt</AlternateDataPath>
<AlternateDataPath Condition="Exists('$(AppPath)')">$(AppPath)\_altData</AlternateDataPath>
</PropertyGroup>
<ItemGroup>
<!--Newtonsoft.Json.Bson wants 12+ of Newtonsoft.Json for some reason-->
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>
<ItemGroup>
<Reference Include="HarmonyLib">
<HintPath>$(AppPath)\Libraries\0Harmony.dll</HintPath>
</Reference>
<Reference Include="FrooxEngine">
<HintPath>$(AppData)\FrooxEngine.dll</HintPath>
</Reference>
<Reference Include="BaseX">
<HintPath>$(AppData)\BaseX.dll</HintPath>
</Reference>
<Reference Include="CodeX">
<HintPath>$(AppData)\CodeX.dll</HintPath>
</Reference>
<Reference Include="CloudX.Shared">
<HintPath>$(AppData)\CloudX.Shared.dll</HintPath>
</Reference>
<Reference Include="LZMA">
<HintPath>$(AppData)\LZMA.dll</HintPath>
</Reference>
<Reference Include="System.Memory">
<HintPath>$(AppData)\System.Memory.dll</HintPath>
</Reference>
<Reference Include="System.Text.Json">
<HintPath>$(AppData)\System.Text.Json.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json.Bson">
<HintPath>$(AppData)\Newtonsoft.Json.Bson.dll</HintPath>
</Reference>
<Reference Include="System.IO.Compression">
<HintPath>$(AppData)\System.IO.Compression.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Bcl.AsyncInterfaces">
<HintPath>$(AppData)\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
</Reference>
<Reference Include="System.Threading.Tasks.Extensions">
<HintPath>$(AppData)\System.Threading.Tasks.Extensions.dll</HintPath>
</Reference>
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(CopyToLibraries)'=='true'">
<!-- Visual Studio auto converted from '""' to """" so I'm not going to fight it on that -->
<Exec Condition="'$(DoAutoPostX)'=='true'" Command="powershell -NoProfile -ExecutionPolicy Bypass -File ".\Scripts\PostBuild.ps1" "$(AppPath)" "$(Configuration)"" />
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(AppPath)\Libraries" />
<Copy SourceFiles="$(TargetDir)$(TargetName).pdb" DestinationFolder="$(AppPath)\Libraries" />
<Message Text="Copied $(TargetFileName) to $(AppPath)\Libraries" Importance="high" />
</Target>
</Project>