[msbuild] Use the right trailing slash for _AppContainerDir according to the current platform.

This commit is contained in:
Rolf Bjarne Kvinge 2023-04-20 11:03:18 +02:00
Родитель 2074b5e327
Коммит 2899a7bf74
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -2759,7 +2759,7 @@ Copyright (C) 2018 Microsoft. All rights reserved.
<AppBundleDir>$(_AppContainerDir)$(_AppBundleName)$(AppBundleExtension)</AppBundleDir>
</PropertyGroup>
<PropertyGroup Condition="'$(_AppContainerDir)' == ''">
<_AppContainerDir>$([System.IO.Path]::GetDirectoryName($(AppBundleDir)))/</_AppContainerDir>
<_AppContainerDir>$([MSBuild]::EnsureTrailingSlash($([System.IO.Path]::GetDirectoryName($(AppBundleDir)))))</_AppContainerDir>
</PropertyGroup>
<PropertyGroup>
<!-- Ensure _AppBundlePath is a relative path (relative to the project directory) and contains a trailing slash -->