-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEnableDev.csproj
More file actions
70 lines (65 loc) · 3.08 KB
/
EnableDev.csproj
File metadata and controls
70 lines (65 loc) · 3.08 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<AssemblyName>com.github.qe201020335.PotionCraftEnableDev</AssemblyName>
<Description>Enable the game's developper mode and cheatcodes</Description>
<Version>1.1.0</Version>
<Product>EnableDev</Product>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
<RestoreAdditionalProjectSources>
https://api.nuget.org/v3/index.json;
https://nuget.bepinex.dev/v3/index.json
</RestoreAdditionalProjectSources>
<RootNamespace>EnableDev</RootNamespace>
<GameDir>U:\SteamLibrary\steamapps\common\Potion Craft</GameDir>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="BepInEx.Analyzers" Version="1.*" PrivateAssets="all" />
<PackageReference Include="BepInEx.Core" Version="5.*" />
<PackageReference Include="BepInEx.PluginInfoProps" Version="2.*" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework.TrimEnd(`0123456789`))' == 'net'">
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<Reference Include="PotionCraft.AchievementsSystem">
<HintPath>$(GameDir)\Potion Craft_Data\Managed\PotionCraft.AchievementsSystem.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="PotionCraft.Core">
<HintPath>$(GameDir)\Potion Craft_Data\Managed\PotionCraft.Core.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="PotionCraft.ManagerSystem">
<HintPath>$(GameDir)\Potion Craft_Data\Managed\PotionCraft.ManagerSystem.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="PotionCraft.SceneLoader">
<HintPath>$(GameDir)\Potion Craft_Data\Managed\PotionCraft.SceneLoader.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="PotionCraft.Scripts">
<HintPath>$(GameDir)\Potion Craft_Data\Managed\PotionCraft.Scripts.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="PotionCraft.Settings">
<HintPath>$(GameDir)\Potion Craft_Data\Managed\PotionCraft.Settings.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine">
<HintPath>$(GameDir)\Potion Craft_Data\Managed\UnityEngine.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.CoreModule">
<HintPath>$(GameDir)\Potion Craft_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
<Target Name="CopyToGameDir" AfterTargets="Build">
<Message Importance="high" Text="Copying to game directory" />
<Copy SourceFiles="$(OutputPath)$(TargetName)$(TargetExt)" DestinationFolder="$(GameDir)\BepInEx\plugins\" ContinueOnError="false" />
<Copy SourceFiles="$(OutputPath)$(TargetName).pdb" DestinationFolder="$(GameDir)\BepInEx\plugins\" ContinueOnError="false" />
<Message Importance="high" Text="Files copied" />
</Target>
</Project>