Skip to content

Commit 2af042c

Browse files
committed
删除注释
1 parent 296d0b8 commit 2af042c

2 files changed

Lines changed: 44 additions & 86 deletions

File tree

Lines changed: 43 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -1,87 +1,45 @@
11
<Project>
2-
<PropertyGroup>
3-
<NuGetUsingMSBuildCopyOutputFileToFastDebugTaskFolder >$(MSBuildThisFileDirectory)..\tools\</NuGetUsingMSBuildCopyOutputFileToFastDebugTaskFolder>
4-
<UsingMSBuildCopyOutputFileToFastDebugTaskFile>"$(NuGetUsingMSBuildCopyOutputFileToFastDebugTaskFolder)UsingMSBuildCopyOutputFileToFastDebug.dll"</UsingMSBuildCopyOutputFileToFastDebugTaskFile>
5-
</PropertyGroup>
6-
7-
<!--默认只有在 Debug 下开启-->
8-
<PropertyGroup Condition="$(EnableUsingMSBuildCopyOutputFileToFastDebug)==''">
9-
<EnableUsingMSBuildCopyOutputFileToFastDebug Condition="'$(Configuration)' == 'Debug'">true</EnableUsingMSBuildCopyOutputFileToFastDebug>
10-
<EnableUsingMSBuildCopyOutputFileToFastDebug Condition="'$(Configuration)' != 'Debug'">false</EnableUsingMSBuildCopyOutputFileToFastDebug>
11-
</PropertyGroup>
12-
13-
<!-- 清理文件 -->
14-
<PropertyGroup>
15-
<CleanUsingMSBuildCopyOutputFileToFastDebugFile>"$(IntermediateOutputPath)CleanUsingMSBuildCopyOutputFileToFastDebugFile.txt"</CleanUsingMSBuildCopyOutputFileToFastDebugFile>
16-
</PropertyGroup>
17-
18-
<!-- <UsingTask TaskName="UsingMSBuildCopyOutputFileToFastDebug.SafeOutputFileCopyTask" -->
19-
<!-- AssemblyFile="$(NuGetUsingMSBuildCopyOutputFileToFastDebugTaskFolder)\UsingMSBuildCopyOutputFileToFastDebug.dll" /> -->
20-
<!-- <UsingTask TaskName="UsingMSBuildCopyOutputFileToFastDebug.LaunchSettingsParser" -->
21-
<!-- AssemblyFile="$(NuGetUsingMSBuildCopyOutputFileToFastDebugTaskFolder)\UsingMSBuildCopyOutputFileToFastDebug.dll" /> -->
22-
23-
24-
25-
<Target Name="CopyOutputLibToFastDebug" AfterTargets="AfterBuild" Condition="$(EnableUsingMSBuildCopyOutputFileToFastDebug)==true">
26-
27-
<ItemGroup>
28-
<OutputFileToCopy Include="$(OutputPath)$(AssemblyName).dll"></OutputFileToCopy>
29-
<!-- 没有pdb文件拷贝过去,将会在调试提示没有符号,因此需要加上符号 -->
30-
<OutputFileToCopy Include="$(OutputPath)$(AssemblyName).pdb"></OutputFileToCopy>
31-
</ItemGroup>
32-
33-
<PropertyGroup>
34-
<OutputFileToCopyList>"@(OutputFileToCopy)"</OutputFileToCopyList>
35-
<MainProjectExecutablePathCommandArgs Condition="'$(MainProjectExecutablePath)' != ''">-MainProjectExecutablePath $(MainProjectExecutablePath)</MainProjectExecutablePathCommandArgs>
36-
</PropertyGroup>
37-
38-
<Exec Command="dotnet $(UsingMSBuildCopyOutputFileToFastDebugTaskFile) -- CopyOutputFile $(MainProjectExecutablePathCommandArgs) -CleanFilePath $(CleanUsingMSBuildCopyOutputFileToFastDebugFile) -OutputFileToCopyList $(OutputFileToCopyList) -TargetFramework $(TargetFramework)"/>
39-
</Target>
40-
41-
<!--<Target Name="ParseLaunchSettings" AfterTargets="AfterBuild"
42-
BeforeTargets="CopyOutputLibToFastDebug" Condition="$(MainProjectPath)=='' and $(EnableUsingMSBuildCopyOutputFileToFastDebug)==true">
43-
<Message Text="当前使用的复制方法 $(NuGetUsingMSBuildCopyOutputFileToFastDebugTaskFolder)" />
44-
<LaunchSettingsParser>
45-
<Output TaskParameter="LaunchMainProjectPath" PropertyName="LaunchMainProjectPath" ></Output>
46-
</LaunchSettingsParser>
47-
</Target>-->
48-
49-
<Target Name="BanCopyOutputLibToFastDebug" AfterTargets="AfterBuild"
50-
Condition="$(EnableUsingMSBuildCopyOutputFileToFastDebug)!=true">
51-
<Message Text="禁用 UsingMSBuildCopyOutputFileToFastDebug 因为 EnableUsingMSBuildCopyOutputFileToFastDebug 不为 true 值"/>
52-
</Target>
53-
54-
<!--<Target Name="CopyOutputLibToFastDebug" AfterTargets="AfterBuild"
55-
Condition="($(MainProjectPath)!='' or $(LaunchMainProjectPath)!='') and $(EnableUsingMSBuildCopyOutputFileToFastDebug)==true">
56-
<Message Text="当前使用的复制方法 $(NuGetUsingMSBuildCopyOutputFileToFastDebugTaskFolder)" />
57-
<ItemGroup>
58-
<OutputFileToCopy Include="$(OutputPath)$(AssemblyName).dll"></OutputFileToCopy>
59-
<OutputFileToCopy Include="$(OutputPath)$(AssemblyName).pdb"></OutputFileToCopy>
60-
</ItemGroup>
61-
<SafeOutputFileCopyTask SourceFiles="@(OutputFileToCopy)"
62-
DestinationFolder="$(MainProjectPath)"
63-
CleanFile="$(CleanUsingMSBuildCopyOutputFileToFastDebugFile)"
64-
Condition="$(MainProjectPath)!=''"></SafeOutputFileCopyTask>
65-
66-
<SafeOutputFileCopyTask SourceFiles="@(OutputFileToCopy)"
67-
DestinationFolder="$(LaunchMainProjectPath)"
68-
CleanFile="$(CleanUsingMSBuildCopyOutputFileToFastDebugFile)"
69-
Condition="$(LaunchMainProjectPath)!='' and $(MainProjectPath)==''"></SafeOutputFileCopyTask>
70-
</Target>-->
71-
72-
<Target Name="UsingMSBuildCopyOutputFileToFastDebugClean" AfterTargets="Clean">
73-
<Exec Command="dotnet $(UsingMSBuildCopyOutputFileToFastDebugTaskFile) -- Clean -CleanFilePath $(CleanUsingMSBuildCopyOutputFileToFastDebugFile) "/>
74-
<!--<ReadLinesFromFile
75-
File="$(CleanUsingMSBuildCopyOutputFileToFastDebugFile)" >
76-
<Output
77-
TaskParameter="Lines"
78-
ItemName="UsingMSBuildCopyOutputFileToFastDebugCleanFile"/>
79-
</ReadLinesFromFile>
80-
81-
<Delete Files="@(UsingMSBuildCopyOutputFileToFastDebugCleanFile)" >
82-
<Output TaskParameter="DeletedFiles" ItemName="UsingMSBuildCopyOutputFileToFastDebugCleanFileDeletedList"/>
83-
</Delete>
84-
85-
<Message Text="Deleted files: '@(UsingMSBuildCopyOutputFileToFastDebugCleanFileDeletedList)'"/>-->
86-
</Target>
2+
<PropertyGroup>
3+
<NuGetUsingMSBuildCopyOutputFileToFastDebugTaskFolder>$(MSBuildThisFileDirectory)..\tools\</NuGetUsingMSBuildCopyOutputFileToFastDebugTaskFolder>
4+
<UsingMSBuildCopyOutputFileToFastDebugTaskFile>"$(NuGetUsingMSBuildCopyOutputFileToFastDebugTaskFolder)UsingMSBuildCopyOutputFileToFastDebug.dll"</UsingMSBuildCopyOutputFileToFastDebugTaskFile>
5+
</PropertyGroup>
6+
7+
<!--默认只有在 Debug 下开启-->
8+
<PropertyGroup Condition="$(EnableUsingMSBuildCopyOutputFileToFastDebug)==''">
9+
<EnableUsingMSBuildCopyOutputFileToFastDebug Condition="'$(Configuration)' == 'Debug'">true</EnableUsingMSBuildCopyOutputFileToFastDebug>
10+
<EnableUsingMSBuildCopyOutputFileToFastDebug Condition="'$(Configuration)' != 'Debug'">false</EnableUsingMSBuildCopyOutputFileToFastDebug>
11+
</PropertyGroup>
12+
13+
<!-- 清理文件 -->
14+
<PropertyGroup>
15+
<CleanUsingMSBuildCopyOutputFileToFastDebugFile>"$(IntermediateOutputPath)CleanUsingMSBuildCopyOutputFileToFastDebugFile.txt"</CleanUsingMSBuildCopyOutputFileToFastDebugFile>
16+
</PropertyGroup>
17+
18+
<Target Name="CopyOutputLibToFastDebug" AfterTargets="AfterBuild"
19+
Condition="$(EnableUsingMSBuildCopyOutputFileToFastDebug)==true">
20+
21+
<ItemGroup>
22+
<OutputFileToCopy Include="$(OutputPath)$(AssemblyName).dll"></OutputFileToCopy>
23+
<!-- 没有pdb文件拷贝过去,将会在调试提示没有符号,因此需要加上符号 -->
24+
<OutputFileToCopy Include="$(OutputPath)$(AssemblyName).pdb"></OutputFileToCopy>
25+
</ItemGroup>
26+
27+
<PropertyGroup>
28+
<OutputFileToCopyList>"@(OutputFileToCopy)"</OutputFileToCopyList>
29+
<MainProjectExecutablePathCommandArgs Condition="'$(MainProjectExecutablePath)' != ''">-MainProjectExecutablePath $(MainProjectExecutablePath)</MainProjectExecutablePathCommandArgs>
30+
</PropertyGroup>
31+
32+
<Exec
33+
Command="dotnet $(UsingMSBuildCopyOutputFileToFastDebugTaskFile) -- CopyOutputFile $(MainProjectExecutablePathCommandArgs) -CleanFilePath $(CleanUsingMSBuildCopyOutputFileToFastDebugFile) -OutputFileToCopyList $(OutputFileToCopyList) -TargetFramework $(TargetFramework)" />
34+
</Target>
35+
36+
<Target Name="BanCopyOutputLibToFastDebug" AfterTargets="AfterBuild"
37+
Condition="$(EnableUsingMSBuildCopyOutputFileToFastDebug)!=true">
38+
<Message Text="禁用 UsingMSBuildCopyOutputFileToFastDebug 因为 EnableUsingMSBuildCopyOutputFileToFastDebug 不为 true 值" />
39+
</Target>
40+
41+
<Target Name="UsingMSBuildCopyOutputFileToFastDebugClean" AfterTargets="Clean">
42+
<Exec
43+
Command="dotnet $(UsingMSBuildCopyOutputFileToFastDebugTaskFile) -- Clean -CleanFilePath $(CleanUsingMSBuildCopyOutputFileToFastDebugFile) " />
44+
</Target>
8745
</Project>

build/Version.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Project>
22
<PropertyGroup>
3-
<Version>1.3.216</Version>
3+
<Version>1.3.217-alpha02</Version>
44
</PropertyGroup>
55
</Project>

0 commit comments

Comments
 (0)