Skip to content

Commit ae991da

Browse files
committed
修改注释
1 parent fd17473 commit ae991da

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • Code/UsingMSBuildCopyOutputFileToFastDebug

Code/UsingMSBuildCopyOutputFileToFastDebug/Program.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,20 @@ public override bool Execute()
2323
{
2424
if (SourceFiles == null || !SourceFiles.Any())
2525
{
26-
Console.WriteLine("warning: 用户没有传入需要复制的文件");
26+
Console.WriteLine("warning: 没有传入需要复制的文件,请给 SourceFiles 赋值需要赋值的文件列表");
2727
return true;
2828
}
2929

3030
var str = new System.Text.StringBuilder();
3131

32-
str.Append("用户传入需要复制的文件\r\n");
32+
str.Append("当前传入需要复制的文件\r\n");
3333
foreach (var sourceFile in SourceFiles)
3434
{
3535
str.Append(sourceFile);
3636
str.Append("\r\n"); // AppendLine 干什么去了
3737
}
3838

39-
str.Append("用户将要复制的文件夹");
39+
str.Append("当前将要复制的文件夹");
4040
str.Append(DestinationFolder);
4141
str.Append("\r\n");
4242

@@ -61,11 +61,11 @@ public override bool Execute()
6161
if (!File.Exists(newFileName))
6262
{
6363
File.Move(destinationFile, newFileName);
64+
Console.WriteLine($"移动文件完成,将{destinationFile}移动到{newFileName}");
6465
break;
6566
}
6667
}
6768

68-
Console.WriteLine("移动文件完成");
6969
}
7070

7171
Console.WriteLine("复制文件");

0 commit comments

Comments
 (0)