Skip to content

Commit 964c13f

Browse files
committed
use hintpath instead of directly including the full path so that KSPAssemblyDependency works properly
1 parent d77bccb commit 964c13f

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

KerbalVR_Mod/KerbalVR-MAS/KerbalVR-MAS.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,12 @@
3131
<WarningLevel>4</WarningLevel>
3232
</PropertyGroup>
3333
<ItemGroup>
34-
<Reference Include="$(KSPRoot)/GameData/MOARdV/AvionicsSystems/AvionicsSystems.dll">
34+
<Reference Include="AvionicsSystems">
35+
<HintPath>$(KSPRoot)/GameData/MOARdV/AvionicsSystems/AvionicsSystems.dll</HintPath>
3536
<Private>False</Private>
3637
<CKANIdentifier>AvionicsSystems</CKANIdentifier>
38+
<KSPAssemblyName>MOARdVAvionicsSystems</KSPAssemblyName>
39+
<KSPAssemblyVersion>1.3</KSPAssemblyVersion>
3740
</Reference>
3841
</ItemGroup>
3942
<ItemGroup>

KerbalVR_Mod/KerbalVR-RPM/KerbalVR-RPM.csproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,14 @@
2626
<OutputPath>bin\Release\</OutputPath>
2727
<ErrorReport>prompt</ErrorReport>
2828
<WarningLevel>4</WarningLevel>
29-
</PropertyGroup>
29+
</PropertyGroup>
3030
<ItemGroup>
31-
<Reference Include="$(KSPRoot)\GameData\JSI\RasterPropMonitor\Plugins\RasterPropMonitor.dll">
31+
<Reference Include="RasterPropMonitor">
32+
<HintPath>$(KSPRoot)\GameData\JSI\RasterPropMonitor\Plugins\RasterPropMonitor.dll</HintPath>
3233
<Private>False</Private>
3334
<CKANIdentifier>RasterPropMonitor-Core</CKANIdentifier>
3435
<KSPAssemblyName>RasterPropMonitor</KSPAssemblyName>
36+
<KSPAssemblyVersion>0.18</KSPAssemblyVersion>
3537
</Reference>
3638
</ItemGroup>
3739
<ItemGroup>

KerbalVR_Mod/KerbalVR/KerbalVR.csproj

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,23 @@
3838
</KSPVersionFile>
3939
</ItemGroup>
4040
<ItemGroup>
41-
<Reference Include="$(RepoRootPath)\$(BinariesOutputRelativePath)\KSPDev_Utils.2.7.dll">
41+
<Reference Include="KSPDev_Utils.2.7">
42+
<HintPath>$(RepoRootPath)\$(BinariesOutputRelativePath)\KSPDev_Utils.2.7.dll</HintPath>
4243
<Private>False</Private>
4344
</Reference>
44-
<Reference Include="$(KSPRoot)\GameData\000_Harmony\0Harmony.dll">
45+
<Reference Include="0Harmony">
46+
<HintPath>$(KSPRoot)\GameData\000_Harmony\0Harmony.dll</HintPath>
4547
<Private>False</Private>
4648
<CKANIdentifier>Harmony2</CKANIdentifier>
49+
<KSPAssemblyName>HarmonyKSP</KSPAssemblyName>
4750
</Reference>
48-
<Reference Include="$(KSPRoot)\GameData\ThroughTheEyes\Plugins\ThroughTheEyes.dll">
51+
<Reference Include="ThroughTheEyes">
52+
<HintPath>$(KSPRoot)\GameData\ThroughTheEyes\Plugins\ThroughTheEyes.dll</HintPath>
4953
<Private>False</Private>
5054
<CKANIdentifier>ThroughTheEyesOfaKerbal</CKANIdentifier>
5155
</Reference>
52-
<Reference Include="$(KSPRoot)\GameData\FreeIva\Plugins\FreeIva.dll">
56+
<Reference Include="FreeIva">
57+
<HintPath>$(KSPRoot)\GameData\FreeIva\Plugins\FreeIva.dll</HintPath>
5358
<Private>False</Private>
5459
<CKANIdentifier>FreeIva</CKANIdentifier>
5560
</Reference>

0 commit comments

Comments
 (0)