-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAutomationAge.csproj
48 lines (40 loc) · 2.5 KB
/
AutomationAge.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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<AssemblyName>AutomationAge</AssemblyName>
<Version>1.0.0</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>11</LangVersion>
<RootNamespace>AutomationAge</RootNamespace>
<BepInExPluginGuid>com.9thcore.automationage</BepInExPluginGuid>
<BepInExPluginName>Automation Age</BepInExPluginName>
<BepInExPluginVersion>1.0.0</BepInExPluginVersion>
<RestoreAdditionalProjectSources>
https://api.nuget.org/v3/index.json;
https://nuget.bepinex.dev/v3/index.json;
</RestoreAdditionalProjectSources>
</PropertyGroup>
<ItemGroup>
<Compile Remove="Assets\**" />
<EmbeddedResource Remove="Assets\**" />
<None Remove="Assets\**" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="BepInEx.Analyzers" Version="1.*" PrivateAssets="all" />
<PackageReference Include="BepInEx.Core" Version="5.4.21" />
<PackageReference Include="BepInEx.PluginInfoProps" Version="1.1.0" />
<PackageReference Include="UnityEngine.Modules" Version="2019.4.36" IncludeAssets="compile" />
<PackageReference Include="Subnautica.GameLibs" Version="71288.0.0-r.0" />
<PackageReference Include="PolySharp" Version="1.13.1" />
<PackageReference Include="Subnautica.Nautilus" Version="1.*-*" PrivateAssets="all" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework.TrimEnd(`0123456789`))' == 'net'">
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<Folder Include="Language\" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="set bundle=automationage

mkdir "F:\Games\SteamGames\steamapps\common\Subnautica\BepInEx\plugins\$(TargetName)"
robocopy /E "D:\Mods\Subnautica\$(TargetName)\Language" "F:\Games\SteamGames\steamapps\common\Subnautica\BepInEx\plugins\$(TargetName)\Language"
copy /Y "D:\Mods\Subnautica\Assets\Bundles\%25bundle%25" "F:\Games\SteamGames\steamapps\common\Subnautica\BepInEx\plugins\$(TargetName)\Assets\%25bundle%25"
copy /Y "D:\Mods\Subnautica\Assets\Bundles\%25bundle%25" "D:\Mods\Subnautica\$(TargetName)\Assets\%25bundle%25"
copy /Y "$(TargetPath)" "F:\Games\SteamGames\steamapps\common\Subnautica\BepInEx\plugins\$(TargetName)"" />
</Target>
</Project>