Repository navigation
Expand file tree
/
Copy pathDirectory.References.props
More file actions
48 lines (45 loc) · 2.48 KB
/
Copy pathDirectory.References.props
File metadata and controls
48 lines (45 loc) · 2.48 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
<Project>
<!-- Game assemblies: real DLLs when STS2 is installed locally... -->
<ItemGroup Condition="Exists('$(Sts2DataDir)')">
<Reference Include="0Harmony">
<HintPath>$(Sts2DataDir)/0Harmony.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="sts2">
<HintPath>$(Sts2DataDir)/sts2.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="SmartFormat">
<HintPath>$(Sts2DataDir)/SmartFormat.dll</HintPath>
</Reference>
<Reference Include="Steamworks.NET">
<HintPath>$(Sts2DataDir)/Steamworks.NET.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Krafs.Publicizer" Version="2.3.0" PrivateAssets="All" />
<PackageReference Include="Alchyr.Sts2.ModAnalyzers" Version="*" />
<PackageReference Include="MonoMod.Backports" Version="1.1.2" />
<!-- Generates a .pck file when building if only using simple assets. May not work on all
setups. Uncomment to test. -->
<!-- <PackageReference Include="BSchneppe.StS2.PckPacker" Version="0.1.1"
PrivateAssets="All" /> -->
<AdditionalFiles Include="HideDetailsMod/localization/**/*.json" /> <!-- Used by analyzer -->
</ItemGroup>
<!-- ...reference assemblies from NuGet when it isn't (CI). -->
<!-- RefLib covers sts2 + Harmony; SmartFormat and Steamworks come as compile-only packages
(ExcludeAssets=runtime so the game's own DLLs are used at runtime, nothing is shipped). -->
<ItemGroup Condition="!Exists('$(Sts2DataDir)')">
<PackageReference Include="lamali.StS2.RefLib" Version="0.111.0-beta" PrivateAssets="all"/>
<PackageReference Include="SmartFormat.NET" Version="3.*" ExcludeAssets="runtime" PrivateAssets="all"/>
<PackageReference Include="Steamworks.NET" Version="2024.8.0" ExcludeAssets="runtime" PrivateAssets="all"/>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Alchyr.Sts2.BaseLib" Version="*" PrivateAssets="All" />
<!-- <Reference Include="BaseLib" Condition="'$(UseLocalBaseLib)' == 'true'">
<HintPath>C:\Users\lamal\Desktop\Programmieren\sts2mods\BaseLib-StS2\publish\BaseLib.dll</HintPath>
<Private>false</Private>
</Reference>
<PackageReference Include="Alchyr.Sts2.BaseLib" Version="$(BaseLibVersion)" Condition="'$(UseLocalBaseLib)' != 'true'"/> -->
</ItemGroup>
</Project>