Use relative paths for project references

This commit is contained in:
2026-05-15 17:21:10 +02:00
parent bb7262e49f
commit 2c3dbf85bf
3 changed files with 35 additions and 15 deletions

3
.gitignore vendored
View File

@@ -416,3 +416,6 @@ FodyWeavers.xsd
*.msix *.msix
*.msm *.msm
*.msp *.msp
# Silksong dlls
GameRefs/*.dll

View File

@@ -0,0 +1,17 @@
Copy the following DLLs from the game's installation folder into this directory:
0Harmony.dll
Assembly-CSharp.dll
Assembly-CSharp-firstpass.dll
BepInEx.dll
TeamCherry.BuildBot.dll
TeamCherry.Cinematics.dll
TeamCherry.Localization.dll
TeamCherry.NestedFadeGroup.dll
TeamCherry.SharedUtils.dll
TeamCherry.Splines.dll
TeamCherry.TK2D.dll
UnityEngine.dll
UnityEngine.CoreModule.dll
UnityEngine.InputLegacyModule.dll
UnityEngine.UI.dll

View File

@@ -32,16 +32,16 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="0Harmony"> <Reference Include="0Harmony">
<HintPath>F:\SteamLibrary\steamapps\common\Hollow Knight Silksong\BepInEx\core\0Harmony.dll</HintPath> <HintPath>..\GameRefs\0Harmony.dll</HintPath>
</Reference> </Reference>
<Reference Include="Assembly-CSharp"> <Reference Include="Assembly-CSharp">
<HintPath>F:\SteamLibrary\steamapps\common\Hollow Knight Silksong\Hollow Knight Silksong_Data\Managed\Assembly-CSharp.dll</HintPath> <HintPath>..\GameRefs\Assembly-CSharp.dll</HintPath>
</Reference> </Reference>
<Reference Include="Assembly-CSharp-firstpass"> <Reference Include="Assembly-CSharp-firstpass">
<HintPath>F:\SteamLibrary\steamapps\common\Hollow Knight Silksong\Hollow Knight Silksong_Data\Managed\Assembly-CSharp-firstpass.dll</HintPath> <HintPath>..\GameRefs\Assembly-CSharp-firstpass.dll</HintPath>
</Reference> </Reference>
<Reference Include="BepInEx"> <Reference Include="BepInEx">
<HintPath>F:\SteamLibrary\steamapps\common\Hollow Knight Silksong\BepInEx\core\BepInEx.dll</HintPath> <HintPath>..\GameRefs\BepInEx.dll</HintPath>
</Reference> </Reference>
<Reference Include="System" /> <Reference Include="System" />
<Reference Include="System.Core" /> <Reference Include="System.Core" />
@@ -52,37 +52,37 @@
<Reference Include="System.Net.Http" /> <Reference Include="System.Net.Http" />
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
<Reference Include="TeamCherry.BuildBot"> <Reference Include="TeamCherry.BuildBot">
<HintPath>F:\SteamLibrary\steamapps\common\Hollow Knight Silksong\Hollow Knight Silksong_Data\Managed\TeamCherry.BuildBot.dll</HintPath> <HintPath>..\GameRefs\TeamCherry.BuildBot.dll</HintPath>
</Reference> </Reference>
<Reference Include="TeamCherry.Cinematics"> <Reference Include="TeamCherry.Cinematics">
<HintPath>F:\SteamLibrary\steamapps\common\Hollow Knight Silksong\Hollow Knight Silksong_Data\Managed\TeamCherry.Cinematics.dll</HintPath> <HintPath>..\GameRefs\TeamCherry.Cinematics.dll</HintPath>
</Reference> </Reference>
<Reference Include="TeamCherry.Localization"> <Reference Include="TeamCherry.Localization">
<HintPath>F:\SteamLibrary\steamapps\common\Hollow Knight Silksong\Hollow Knight Silksong_Data\Managed\TeamCherry.Localization.dll</HintPath> <HintPath>..\GameRefs\TeamCherry.Localization.dll</HintPath>
</Reference> </Reference>
<Reference Include="TeamCherry.NestedFadeGroup"> <Reference Include="TeamCherry.NestedFadeGroup">
<HintPath>F:\SteamLibrary\steamapps\common\Hollow Knight Silksong\Hollow Knight Silksong_Data\Managed\TeamCherry.NestedFadeGroup.dll</HintPath> <HintPath>..\GameRefs\TeamCherry.NestedFadeGroup.dll</HintPath>
</Reference> </Reference>
<Reference Include="TeamCherry.SharedUtils"> <Reference Include="TeamCherry.SharedUtils">
<HintPath>F:\SteamLibrary\steamapps\common\Hollow Knight Silksong\Hollow Knight Silksong_Data\Managed\TeamCherry.SharedUtils.dll</HintPath> <HintPath>..\GameRefs\TeamCherry.SharedUtils.dll</HintPath>
</Reference> </Reference>
<Reference Include="TeamCherry.Splines"> <Reference Include="TeamCherry.Splines">
<HintPath>F:\SteamLibrary\steamapps\common\Hollow Knight Silksong\Hollow Knight Silksong_Data\Managed\TeamCherry.Splines.dll</HintPath> <HintPath>..\GameRefs\TeamCherry.Splines.dll</HintPath>
</Reference> </Reference>
<Reference Include="TeamCherry.TK2D"> <Reference Include="TeamCherry.TK2D">
<HintPath>F:\SteamLibrary\steamapps\common\Hollow Knight Silksong\Hollow Knight Silksong_Data\Managed\TeamCherry.TK2D.dll</HintPath> <HintPath>..\GameRefs\TeamCherry.TK2D.dll</HintPath>
</Reference> </Reference>
<Reference Include="UnityEngine"> <Reference Include="UnityEngine">
<HintPath>F:\SteamLibrary\steamapps\common\Hollow Knight Silksong\Hollow Knight Silksong_Data\Managed\UnityEngine.dll</HintPath> <HintPath>..\GameRefs\UnityEngine.dll</HintPath>
</Reference> </Reference>
<Reference Include="UnityEngine.CoreModule"> <Reference Include="UnityEngine.CoreModule">
<HintPath>F:\SteamLibrary\steamapps\common\Hollow Knight Silksong\Hollow Knight Silksong_Data\Managed\UnityEngine.CoreModule.dll</HintPath> <HintPath>..\GameRefs\UnityEngine.CoreModule.dll</HintPath>
</Reference> </Reference>
<Reference Include="UnityEngine.InputLegacyModule"> <Reference Include="UnityEngine.InputLegacyModule">
<HintPath>F:\SteamLibrary\steamapps\common\Hollow Knight Silksong\Hollow Knight Silksong_Data\Managed\UnityEngine.InputLegacyModule.dll</HintPath> <HintPath>..\GameRefs\UnityEngine.InputLegacyModule.dll</HintPath>
</Reference> </Reference>
<Reference Include="UnityEngine.UI"> <Reference Include="UnityEngine.UI">
<HintPath>F:\SteamLibrary\steamapps\common\Hollow Knight Silksong\Hollow Knight Silksong_Data\Managed\UnityEngine.UI.dll</HintPath> <HintPath>..\GameRefs\UnityEngine.UI.dll</HintPath>
</Reference> </Reference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>