Skip to content

Commit 0be5111

Browse files
committed
Fix pdb files not being copied to GameData in Debug configuration
1 parent 67b9336 commit 0be5111

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file
44

5+
## Unreleased
6+
7+
### Msbuild
8+
9+
- Fixed pdb files not being copied to GameData in Debug configuration
10+
11+
512
## 1.1.0 - 2025-11-30
613

714
### Msbuild

KSPCommon.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@
293293
Condition=" '$(KSPBT_CopyDLLsToPluginFolder)' == 'true'">
294294
<ItemGroup>
295295
<_BinariesToCopy Include="$(TargetDir)/**/*.dll"/>
296-
<_BinariesToCopy Include="$(TargetDir)/**/*.pdb" Condition="'$(Condition)' == 'Debug'"/>
296+
<_BinariesToCopy Include="$(TargetDir)/**/*.pdb" Condition="'$(Configuration)' == 'Debug'"/>
297297
</ItemGroup>
298298
<MakeDir Directories="$(KSPBT_ModRoot)/$(KSPBT_ModPluginFolder)"/>
299299
<Copy SourceFiles="@(_BinariesToCopy)" DestinationFolder="$(KSPBT_ModRoot)/$(KSPBT_ModPluginFolder)/%(RecursiveDir)"/>

0 commit comments

Comments
 (0)