Skip to content

Commit 221795f

Browse files
committed
Treat warnings as errors during CI tests
for some reason a *missing dependency dll* is treated as a *warning*???
1 parent af5d036 commit 221795f

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

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+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
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+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
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+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
2526
</PropertyGroup>
2627

2728
<!-- DLL Dependencies-->

0 commit comments

Comments
 (0)