File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 8080 working-directory : ${{ inputs.working-directory }}
8181 run : >
8282 dotnet msbuild -m:1 -p:Configuration=${{ inputs.build-configuration }}
83- -p:KSPBT_ManagedRelativePath= KSP_x64_Data/Managed ${{ inputs.solution-file-path }}
83+ -p:KSPBT_ManagedPath=${{ env.KSP_ROOT }}/ KSP_x64_Data/Managed ${{ inputs.solution-file-path }}
8484 ${{ runner.debug && '-v:diagnostic' }}
Original file line number Diff line number Diff line change 6868 </ItemDefinitionGroup >
6969
7070 <!-- Parse KSP platform-specific paths -->
71- <PropertyGroup Condition =" '$(KSPBT_ManagedRelativePath )' == '' " >
72- <KSPBT_ManagedRelativePath Condition =" $([MSBuild]::IsOsPlatform('Windows')) " >KSP_x64_Data/Managed</KSPBT_ManagedRelativePath >
73- <KSPBT_ManagedRelativePath Condition =" $([MSBuild]::IsOsPlatform('OSX')) " >KSP.app/Contents/Resources/Data/Managed</KSPBT_ManagedRelativePath >
74- <KSPBT_ManagedRelativePath Condition =" $([MSBuild]::IsOsPlatform('Linux')) " >KSP_Data/Managed</KSPBT_ManagedRelativePath >
71+ <PropertyGroup Condition =" '$(_KSPBT_ManagedRelativePath )' == '' " >
72+ <_KSPBT_ManagedRelativePath Condition =" $([MSBuild]::IsOsPlatform('Windows')) " >KSP_x64_Data/Managed</_KSPBT_ManagedRelativePath >
73+ <_KSPBT_ManagedRelativePath Condition =" $([MSBuild]::IsOsPlatform('OSX')) " >KSP.app/Contents/Resources/Data/Managed</_KSPBT_ManagedRelativePath >
74+ <_KSPBT_ManagedRelativePath Condition =" $([MSBuild]::IsOsPlatform('Linux')) " >KSP_Data/Managed</_KSPBT_ManagedRelativePath >
7575 </PropertyGroup >
7676
7777 <PropertyGroup >
Original file line number Diff line number Diff line change 44
55 <!-- Relative path that must exist for a path to be a valid KSP Install-->
66 <PropertyGroup >
7- <KSPBT_GameIdentifier >$(KSPBT_ManagedRelativePath )/Assembly-CSharp.dll</KSPBT_GameIdentifier >
7+ <KSPBT_GameIdentifier >$(_KSPBT_ManagedRelativePath )/Assembly-CSharp.dll</KSPBT_GameIdentifier >
88 <KSPBT_GameRootSource Condition =" '$(KSPBT_GameRoot)' != ''" >property</KSPBT_GameRootSource >
99 </PropertyGroup >
1010
4949
5050 <!-- Calculate KSPBT_ManagedPath -->
5151 <PropertyGroup Condition =" '$(KSPBT_ManagedPath)' == ''" >
52- <KSPBT_ManagedPath >$(KSPBT_GameRoot)/$(KSPBT_ManagedRelativePath )</KSPBT_ManagedPath >
52+ <KSPBT_ManagedPath >$(KSPBT_GameRoot)/$(_KSPBT_ManagedRelativePath )</KSPBT_ManagedPath >
5353 </PropertyGroup >
5454
5555 <!-- Prevent the compiler from acquiring or referencing any external reference assemblies -->
You can’t perform that action at this time.
0 commit comments