summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/plugins/project/vsxmake/vsproj/Xmake.Defaults.props2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/project/vsxmake/vsproj/Xmake.Defaults.props b/xmake/plugins/project/vsxmake/vsproj/Xmake.Defaults.props
index df0b5f9e5..f0ee8495e 100644
--- a/xmake/plugins/project/vsxmake/vsproj/Xmake.Defaults.props
+++ b/xmake/plugins/project/vsxmake/vsproj/Xmake.Defaults.props
@@ -7,9 +7,9 @@
<XmakeScriptDirResolved>$(XmakeScriptDir)</XmakeScriptDirResolved>
<!-- resolve if they are relative paths -->
+ <XmakeProgramDirResolved Condition="!$([System.IO.Path]::IsPathRooted('$(XmakeProgramDirResolved)'))">$([System.IO.Path]::GetFullPath('$(MSBuildProjectDirectory)\$(XmakeProgramDirResolved)'))</XmakeProgramDirResolved>
<XmakeProjectDirResolved Condition="!$([System.IO.Path]::IsPathRooted('$(XmakeProjectDirResolved)'))">$([System.IO.Path]::GetFullPath('$(MSBuildProjectDirectory)\$(XmakeProjectDirResolved)'))</XmakeProjectDirResolved>
<XmakeScriptDirResolved Condition="!$([System.IO.Path]::IsPathRooted('$(XmakeScriptDirResolved)'))">$([System.IO.Path]::GetFullPath('$(MSBuildProjectDirectory)\$(XmakeScriptDirResolved)'))</XmakeScriptDirResolved>
- <XmakeBuilDirResolved Condition="!$([System.IO.Path]::IsPathRooted('$(XmakeBuilDirResolved)'))">$([System.IO.Path]::GetFullPath('$(MSBuildProjectDirectory)\$(XmakeBuilDirResolved)'))</XmakeBuilDirResolved>
<!-- normalize paths -->
<XmakeProgramDir>$([System.IO.Path]::GetFullPath('$(XmakeProgramDirResolved)'))</XmakeProgramDir>