File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 8484
8585 <!-- Import a props.user file -->
8686 <!-- serves the same role as the csproj.user file -->
87- <Import Condition =" Exists('$(SolutionDir)$(SolutionName).props.user') " Project =" $(SolutionDir)$(SolutionName).props.user" />
87+ <Import Condition =" '$(SolutionDir)' != '' And Exists('$(SolutionDir)$(SolutionName).props.user') " Project =" $(SolutionDir)$(SolutionName).props.user" />
8888
8989 <!-- Import solution-wide props if it exists -->
90- <Import Condition =" Exists('$(SolutionDir)$(SolutionName).props') " Project =" $(SolutionDir)$(SolutionName).props" />
90+ <Import Condition =" '$(SolutionDir)' != '' And Exists('$(SolutionDir)$(SolutionName).props') " Project =" $(SolutionDir)$(SolutionName).props" />
9191
9292 <ItemGroup Condition =" exists('$(MSBuildThisFileDirectory)/include') " >
9393 <Compile
Original file line number Diff line number Diff line change 1515 <KSPBT_GameRootSource >environment variable</KSPBT_GameRootSource >
1616 </PropertyGroup >
1717 <ItemGroup >
18- <KSPBT_GameRootCandidate Include =" $(SolutionDir)KSP" source =" solution directory" />
18+ <KSPBT_GameRootCandidate Include =" $(SolutionDir)KSP" source =" solution directory" Condition = " '$(SolutionDir)' != '' " />
1919 <KSPBT_GameRootCandidate Include =" $(ReferencePath)" source =" reference path" />
2020 <KSPBT_GameRootCandidate Include =" $(_KSPBT_SteamGameRoot)" source =" steam" />
2121 </ItemGroup >
2222
2323 <!-- Look for KSP install in Solution dir -->
24- <PropertyGroup Condition =" '$(KSPBT_GameRoot)' == '' And Exists('$(SolutionDir)KSP/$(KSPBT_GameIdentifier)') " >
24+ <PropertyGroup Condition =" '$(KSPBT_GameRoot)' == '' And '$(SolutionDir)' != '' And Exists('$(SolutionDir)KSP/$(KSPBT_GameIdentifier)') " >
2525 <KSPBT_GameRoot >$(SolutionDir)KSP</KSPBT_GameRoot >
2626 <KSPBT_GameRootSource >solution directory</KSPBT_GameRootSource >
2727 </PropertyGroup >
You can’t perform that action at this time.
0 commit comments