Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/sdkPublic

Commitb64c645

Browse files
authored
Use NormalizeDirectory instead of Path.Combine for PackagedShimOutputDirectory (#49858)
1 parent45a7a38 commitb64c645

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.PackTool.targets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ NOTE: This file is imported from the following contexts, so be aware when writin
295295
ApphostsForShimRuntimeIdentifiers="@(_ApphostsForShimRuntimeIdentifiers)"
296296
IntermediateAssembly="@(IntermediateAssembly->'%(FullPath)')"
297297
OutputType="$(OutputType)"
298-
PackagedShimOutputDirectory="$([System.IO.Path]::Combine($(PackagedShimOutputRootDirectory), 'shims', $(_ToolPackShortTargetFrameworkName)))"
298+
PackagedShimOutputDirectory="$([MSBuild]::NormalizeDirectory($(PackagedShimOutputRootDirectory), 'shims', $(_ToolPackShortTargetFrameworkName)))"
299299
PackageId="$(PackageId)"
300300
PackageVersion="$(PackageVersion)"
301301
ShimRuntimeIdentifiers="@(_PackAsToolShimRuntimeIdentifiers)"
@@ -324,7 +324,7 @@ NOTE: This file is imported from the following contexts, so be aware when writin
324324

325325
<TargetName="_ComputeExpectedEmbeddedApphostPaths">
326326
<GetEmbeddedApphostPaths
327-
PackagedShimOutputDirectory="$([System.IO.Path]::Combine($(PackagedShimOutputRootDirectory), 'shims', $(_ToolPackShortTargetFrameworkName)))"
327+
PackagedShimOutputDirectory="$([MSBuild]::NormalizeDirectory($(PackagedShimOutputRootDirectory), 'shims', $(_ToolPackShortTargetFrameworkName)))"
328328
ShimRuntimeIdentifiers="@(_PackAsToolShimRuntimeIdentifiers)"
329329
ToolCommandName="$(ToolCommandName)">
330330

‎src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Publish.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1289,7 +1289,7 @@ Copyright (c) .NET Foundation. All rights reserved.
12891289
</ItemGroup>
12901290

12911291
<GetEmbeddedApphostPaths
1292-
PackagedShimOutputDirectory="$([System.IO.Path]::Combine($(PackagedShimOutputRootDirectory), 'shims', $(TargetFramework)))"
1292+
PackagedShimOutputDirectory="$([MSBuild]::NormalizeDirectory($(PackagedShimOutputRootDirectory), 'shims', $(TargetFramework)))"
12931293
ShimRuntimeIdentifiers="@(_PackAsToolShimRuntimeIdentifiers)"
12941294
ToolCommandName="$(ToolCommandName)"
12951295
>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp