-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathLCSoundToolMod.csproj
62 lines (56 loc) · 4 KB
/
LCSoundToolMod.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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework> <!-- net472 -->
<AssemblyName>LC_SoundTool</AssemblyName>
<Description>Various audio related functions. Mainly logs all sounds that are playing and what type of playback they're into the BepInEx console.</Description>
<Version>1.5.1</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
<RepositoryUrl>https://github.com/no00ob/LCSoundTool</RepositoryUrl>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="BepInEx.Analyzers" Version="1.*" PrivateAssets="all" />
<PackageReference Include="BepInEx.Core" Version="5.*" />
<PackageReference Include="BepInEx.PluginInfoProps" Version="1.*" />
<PackageReference Include="UnityEngine.Modules" Version="2022.3.9" IncludeAssets="compile" />
</ItemGroup>
<ItemGroup>
<Reference Include="Assembly-CSharp">
<HintPath>C:\Program Files (x86)\Steam\steamapps\common\Lethal Company\Lethal Company_Data\Managed\Assembly-CSharp.dll</HintPath> <!-- Edit this to the actual location -->
</Reference>
<Reference Include="BepInEx">
<HintPath>C:\Program Files (x86)\Steam\steamapps\common\Lethal Company\BepInEx\core\BepInEx.dll</HintPath>
</Reference>
<Reference Include="BepInEx.Harmony">
<HintPath>C:\Program Files (x86)\Steam\steamapps\common\Lethal Company\BepInEx\core\BepInEx.Harmony.dll</HintPath>
</Reference>
<Reference Include="BepInEx.Preloader">
<HintPath>C:\Program Files (x86)\Steam\steamapps\common\Lethal Company\BepInEx\core\BepInEx.Preloader.dll</HintPath>
</Reference>
<Reference Include="UnityEngine">
<HintPath>C:\Program Files (x86)\Steam\steamapps\common\Lethal Company\Lethal Company_Data\Managed\UnityEngine.dll</HintPath> <!-- Edit this to the actual location -->
</Reference>
<Reference Include="UnityEngine.UI">
<HintPath>C:\Program Files (x86)\Steam\steamapps\common\Lethal Company\Lethal Company_Data\Managed\UnityEngine.UI.dll</HintPath>
</Reference>
<Reference Include="Unity.Netcode.Runtime">
<HintPath>C:\Program Files (x86)\Steam\steamapps\common\Lethal Company\Lethal Company_Data\Managed\Unity.Netcode.Runtime.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="xcopy /y $(TargetDir)$(TargetName).dll "F:\NetcodePatcher\plugins\no00ob-LCSoundTool"
xcopy /y $(TargetDir)$(TargetName).pdb "F:\NetcodePatcher\plugins\no00ob-LCSoundTool"
cd "F:\NetcodePatcher\"
NetcodePatcher.dll plugins\ deps\
xcopy /y F:\NetcodePatcher\plugins\no00ob-LCSoundTool\$(TargetName).dll "C:/Users/Aki/AppData/Roaming/r2modmanPlus-local/LethalCompany/profiles/SoundTest/BepInEx/plugins/no00ob-LCSoundTool"
xcopy /y F:\NetcodePatcher\plugins\no00ob-LCSoundTool\$(TargetName).dll "F:\Users\Aki\Files\GitHub\LCSoundTool\thunder"
powershell -Command "& {[System.Reflection.Assembly]::LoadFrom('$([System.IO.Path]::Combine($(TargetDir), '$(TargetName).dll'))').GetName().Version | ForEach-Object { $_.Major, $_.Minor, $_.Build, $_.Revision -join '.' } | Out-File '$([System.IO.Path]::Combine($(TargetDir), 'version.txt'))'}"
xcopy /y $(TargetDir)version.txt "F:\Users\Aki\Files\GitHub\LCSoundTool\thunder"" />
</Target>
</Project>