-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBigDogMod.csproj
More file actions
46 lines (41 loc) · 1.74 KB
/
BigDogMod.csproj
File metadata and controls
46 lines (41 loc) · 1.74 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
<Project Sdk="Godot.NET.Sdk/4.5.1">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>true</ImplicitUsings>
<LangVersion>12.0</LangVersion>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<RootNamespace>BigDogMod</RootNamespace>
<AssemblyName>BigDogMod</AssemblyName>
<Sts2Dir>D:\steam\steamapps\common\Slay the Spire 2</Sts2Dir>
<Sts2DataDir>$(Sts2Dir)\data_sts2_windows_x86_64</Sts2DataDir>
</PropertyGroup>
<ItemGroup>
<Reference Include="sts2">
<HintPath>$(Sts2DataDir)\sts2.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="0Harmony">
<HintPath>$(Sts2DataDir)\0Harmony.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="STS2-RitsuLib">
<HintPath>ThirdParty\RitsuLib\STS2-RitsuLib.dll</HintPath>
<Private>false</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Remove="ThirdParty\BaseLibSource\**\*.cs" />
<EmbeddedResource Remove="ThirdParty\BaseLibSource\**\*" />
<None Remove="ThirdParty\BaseLibSource\**\*" />
<Compile Remove="ThirdParty\RitsuLibSource\**\*.cs" />
<EmbeddedResource Remove="ThirdParty\RitsuLibSource\**\*" />
<None Remove="ThirdParty\RitsuLibSource\**\*" />
</ItemGroup>
<Target Name="Copy Mod" AfterTargets="PostBuildEvent">
<Message Text="Copying mod to Slay the Spire 2 mods folder..." Importance="high" />
<MakeDir Directories="$(Sts2Dir)\mods\$(MSBuildProjectName)\" />
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(Sts2Dir)\mods\$(MSBuildProjectName)\" />
<Copy SourceFiles="$(MSBuildProjectName).json" DestinationFolder="$(Sts2Dir)\mods\$(MSBuildProjectName)\" />
</Target>
</Project>