Skip to content

Commit

Permalink
Bug,修复Ar打包时Source参数拼接错误导致失败问题
Browse files Browse the repository at this point in the history
  • Loading branch information
mingkuang-Chuyu committed Sep 25, 2023
1 parent 6c84a69 commit 18ea3eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Microsoft.Build.CPPTasks/VCToolTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ private static void EmitTaskItemArraySwitch(CommandLineBuilder builder, ToolSwit
#if __REMOVE
builder.AppendSwitchIfNotNull(toolSwitch.SwitchValue, Environment.ExpandEnvironmentVariables(taskItem.ItemSpec));
#else
var ExpandItemSpec =Environment.ExpandEnvironmentVariables(toolSwitch.TaskItem.ItemSpec);
var ExpandItemSpec =Environment.ExpandEnvironmentVariables(taskItem.ItemSpec);
if(toolSwitch.TaskItemFullPath)
{
ExpandItemSpec = FileUtilities.NormalizePath(ExpandItemSpec);
Expand Down

0 comments on commit 18ea3eb

Please sign in to comment.