Skip to content

Commit e2b205e

Browse files
committed
fix project path/name variables
1 parent b7d6a48 commit e2b205e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

KSPCommon.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<!-- These can be overwritten by user, csproj, and props files -->
4747
<PropertyGroup>
4848
<!-- The root directory of the mod, the folder that gets placed in GameData -->
49-
<KSPModRoot Condition=" '$(KSPModRoot)' == '' ">$(ProjectDir)/../GameData/$(ProjectName)/</KSPModRoot>
49+
<KSPModRoot Condition=" '$(KSPModRoot)' == '' ">$(MSBuildProjectDirectory)/../GameData/$(MSBuildProjectName)/</KSPModRoot>
5050
<!-- The folder to place resulting DLLs into, relative to KSPModRoot -->
5151
<KSPModPluginFolder Condition=" '$(KSPModPluginFolder)' == '' "/>
5252
</PropertyGroup>

0 commit comments

Comments
 (0)