Skip to content

Commit

Permalink
Merge pull request #418 from Defee/dev
Browse files Browse the repository at this point in the history
Added  pre-defined BeInExPath to be considered in JotunnLibRefsCorlib…
  • Loading branch information
MSchmoecker authored Dec 25, 2023
2 parents a64aaa1 + be93988 commit f34c402
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
10 changes: 5 additions & 5 deletions JotunnLib/BuildProps/JotunnLibRefsCorlib.props
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,19 @@
<Private>false</Private>
</Reference>
<Reference Include="BepInEx">
<HintPath>$(VALHEIM_INSTALL)\BepInEx\core\BepInEx.dll</HintPath>
<HintPath>$(BEPINEX_PATH)\core\BepInEx.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="0Harmony">
<HintPath>$(VALHEIM_INSTALL)\BepInEx\core\0Harmony.dll</HintPath>
<HintPath>$(BEPINEX_PATH)\core\0Harmony.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="BepInEx.Preloader">
<HintPath>$(VALHEIM_INSTALL)\BepInEx\core\BepInEx.Preloader.dll</HintPath>
<HintPath>$(BEPINEX_PATH)\core\BepInEx.Preloader.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="HarmonyXInterop">
<HintPath>$(VALHEIM_INSTALL)\BepInEx\core\HarmonyXInterop.dll</HintPath>
<HintPath>$(BEPINEX_PATH)\core\HarmonyXInterop.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="Mono.Security">
Expand Down Expand Up @@ -366,4 +366,4 @@
<HintPath>$(VALHEIM_INSTALL)\valheim_Data\Managed\UnityEngine.XRModule.dll</HintPath>
</Reference>
</ItemGroup>
</Project>
</Project>
5 changes: 4 additions & 1 deletion JotunnLib/BuildProps/Paths.props
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@
</PropertyGroup>
</When>
</Choose>
</Project>
<PropertyGroup Condition="$(BEPINEX_PATH)=='' AND $(VALHEIM_INSTALL) != ''">
<BEPINEX_PATH>$(VALHEIM_INSTALL)\BepInEx</BEPINEX_PATH>
</PropertyGroup>
</Project>

0 comments on commit f34c402

Please sign in to comment.