|
42 | 42 | </ItemDefinitionGroup> |
43 | 43 |
|
44 | 44 | <!--Parse KSP platform-specific paths --> |
45 | | - <PropertyGroup Condition=" '$(_KSPBT_ManagedRelativePath)' == '' "> |
46 | | - <_KSPBT_ManagedRelativePath Condition=" $([MSBuild]::IsOsPlatform('Windows')) ">KSP_x64_Data/Managed</_KSPBT_ManagedRelativePath> |
47 | | - <_KSPBT_ManagedRelativePath Condition=" $([MSBuild]::IsOsPlatform('OSX')) ">KSP.app/Contents/Resources/Data/Managed</_KSPBT_ManagedRelativePath> |
48 | | - <_KSPBT_ManagedRelativePath Condition=" $([MSBuild]::IsOsPlatform('Linux')) ">KSP_Data/Managed</_KSPBT_ManagedRelativePath> |
| 45 | + <PropertyGroup Condition=" '$(KSPBT_ManagedRelativePath)' == '' "> |
| 46 | + <KSPBT_ManagedRelativePath Condition=" $([MSBuild]::IsOsPlatform('Windows')) ">KSP_x64_Data/Managed</KSPBT_ManagedRelativePath> |
| 47 | + <KSPBT_ManagedRelativePath Condition=" $([MSBuild]::IsOsPlatform('OSX')) ">KSP.app/Contents/Resources/Data/Managed</KSPBT_ManagedRelativePath> |
| 48 | + <KSPBT_ManagedRelativePath Condition=" $([MSBuild]::IsOsPlatform('Linux')) ">KSP_Data/Managed</KSPBT_ManagedRelativePath> |
49 | 49 | </PropertyGroup> |
50 | 50 |
|
51 | 51 | <PropertyGroup> |
|
57 | 57 | </PropertyGroup> |
58 | 58 |
|
59 | 59 | <!-- Import the csproj.user file. --> |
60 | | - <!-- This can overwrite _KSPBT_ManagedRelativePath and _KSPBT_GameExecutable, |
| 60 | + <!-- This can overwrite KSPBT_ManagedRelativePath and _KSPBT_GameExecutable, |
61 | 61 | set KSPBT_GameRoot and ReferencePath, and any other user-specific settings --> |
62 | 62 | <Import Project="$(MSBuildProjectFullPath).user" Condition="Exists('$(MSBuildProjectFullPath).user')"/> |
63 | 63 |
|
|
70 | 70 |
|
71 | 71 | <!-- Relative path that must exist for a path to be a valid KSP Install--> |
72 | 72 | <PropertyGroup> |
73 | | - <KSPBT_GameIdentifier>$(_KSPBT_ManagedRelativePath)/Assembly-CSharp.dll</KSPBT_GameIdentifier> |
| 73 | + <KSPBT_GameIdentifier>$(KSPBT_ManagedRelativePath)/Assembly-CSharp.dll</KSPBT_GameIdentifier> |
74 | 74 | <KSPBT_GameRootSource Condition="'$(KSPBT_GameRoot)' != ''">property</KSPBT_GameRootSource> |
75 | 75 | </PropertyGroup> |
76 | 76 |
|
|
104 | 104 | <KSPBT_GameRootSource>steam</KSPBT_GameRootSource> |
105 | 105 | </PropertyGroup> |
106 | 106 |
|
107 | | - <!-- Calculate KSPBT_ManagedPath --> |
108 | | - <PropertyGroup Condition=" '$(KSPBT_ManagedPath)' == ''"> |
109 | | - <KSPBT_ManagedPath>$(KSPBT_GameRoot)/$(_KSPBT_ManagedRelativePath)</KSPBT_ManagedPath> |
110 | | - </PropertyGroup> |
111 | | - |
112 | 107 | <!-- set the start action so that you can launch directly from VS --> |
113 | 108 | <PropertyGroup> |
114 | 109 | <StartAction>Program</StartAction> |
|
0 commit comments