Repository navigation
Expand file tree
/
Copy pathHermitsModDoctor.csproj
More file actions
47 lines (42 loc) · 1.88 KB
/
Copy pathHermitsModDoctor.csproj
File metadata and controls
47 lines (42 loc) · 1.88 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
<Project Sdk="Godot.NET.Sdk/4.5.1">
<Import Project=".\local.props" Condition="Exists('.\local.props')" />
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
<Version>0.2.0</Version>
<AssemblyVersion>0.2.0.0</AssemblyVersion>
<FileVersion>0.2.0.0</FileVersion>
<PlatformTarget>AnyCPU</PlatformTarget>
<GodotDisabledSourceGenerators>GodotPluginsInitializer</GodotDisabledSourceGenerators>
<NuGetAudit>false</NuGetAudit>
<Sts2Dir Condition="'$(Sts2Dir)' == ''">E:\SteamLibrary\steamapps\common\Slay the Spire 2</Sts2Dir>
<Sts2DataDir Condition="'$(Sts2DataDir)' == ''">$(Sts2Dir)\data_sts2_windows_x86_64</Sts2DataDir>
<ModsDir Condition="'$(ModsDir)' == ''">$(Sts2Dir)\mods</ModsDir>
</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>
</ItemGroup>
<ItemGroup>
<None Include="HermitsModDoctor.json" CopyToOutputDirectory="PreserveNewest" />
<None Include="README.md" />
<None Include="LICENSE.txt" />
<None Include="local.props.template" />
<EmbeddedResource Include="Tools\ModDoctor.Bisect.ps1" />
<EmbeddedResource Include="Localization\*.json" />
</ItemGroup>
<Target Name="CopyToModsFolderOnBuild" AfterTargets="AfterBuild">
<MakeDir Directories="$(ModsDir)\HermitsModDoctor" />
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(ModsDir)\HermitsModDoctor\" />
<Copy SourceFiles="$(MSBuildProjectDirectory)\HermitsModDoctor.json" DestinationFolder="$(ModsDir)\HermitsModDoctor\" />
</Target>
</Project>