Skip to content

Commit 6e879b7

Browse files
committed
Fix KSPBT not installing CKAN dependencies automatically
commit 2f23d91 Author: Andrew Cassidy <[email protected]> Date: Thu Oct 30 00:26:49 2025 -0700 Fix typo preventing CKAN mod installation commit 538f615 Author: Andrew Cassidy <[email protected]> Date: Thu Oct 30 00:08:50 2025 -0700 Try that again commit 221795f Author: Andrew Cassidy <[email protected]> Date: Thu Oct 30 00:05:02 2025 -0700 Treat warnings as errors during CI tests for some reason a *missing dependency dll* is treated as a *warning*???
1 parent af5d036 commit 6e879b7

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

KSPCommon.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
<_CKANCommands Include="compat add --gamedir &quot;$(KSPBT_GameRoot)&quot; %(_CKANCompatibleVersionItems.Identity)"
160160
Condition=" '$(KSPBT_CKANCompatibleVersions)' != '' "/>
161161

162-
<_CKANCommands Include="install --no-recommends --gamedir &quot;$(KSPBT_GameRoot)&quot; $(_CKANDependencyList)" Condition="'$(CKANDependencyList)' != ''"/>
162+
<_CKANCommands Include="install --no-recommends --gamedir &quot;$(KSPBT_GameRoot)&quot; $(_CKANDependencyList)" Condition="'$(_CKANDependencyList)' != ''"/>
163163
</ItemGroup>
164164
<Message Text="Writing CKAN commands to $(_CKANScript)"/>
165165
<Message Text="@(_CKANCommands, '%0a')" Importance="Low"/>

tests/plugin-mod-legacy/PluginModLegacy/plugin-mod-legacy.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<TargetFrameworkProfile />
1414
<NuGetPackageImportStamp>
1515
</NuGetPackageImportStamp>
16+
<MSBuildTreatWarningsAsErrors>true</MSBuildTreatWarningsAsErrors>
1617
</PropertyGroup>
1718
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1819
<DebugSymbols>true</DebugSymbols>

tests/plugin-mod-nuget/plugin-mod-nuget.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<PropertyGroup>
55
<KSPBuildToolsVersion Condition = " '$(KSPBuildToolsVersion)' == ''">*-*</KSPBuildToolsVersion>
66
<RootNamespace>plugin-mod</RootNamespace>
7+
<MSBuildTreatWarningsAsErrors>true</MSBuildTreatWarningsAsErrors>
78
</PropertyGroup>
89

910
<ItemGroup>

tests/plugin-mod/plugin-mod.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<AssemblyCopyright>2024 KSPModdingLibs Contributors</AssemblyCopyright>
2323
<AssemblyName>PluginMod</AssemblyName>
2424
<KSPBT_ModRoot>$(MSBuildThisFileDirectory)/GameData/$(MSBuildProjectName)</KSPBT_ModRoot>
25+
<MSBuildTreatWarningsAsErrors>true</MSBuildTreatWarningsAsErrors>
2526
</PropertyGroup>
2627

2728
<!-- DLL Dependencies-->

0 commit comments

Comments
 (0)