Skip to content

Commit 2f0251e

Browse files
committed
如果没有设置特别的输出路径,那么不加上命令行
1 parent 6560601 commit 2f0251e

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

Code/ToolPackager/Build/dotnetCampus.UsingMSBuildCopyOutputFileToFastDebug.targets

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@
3232

3333
<PropertyGroup>
3434
<OutputFileToCopyList>"@(OutputFileToCopy)"</OutputFileToCopyList>
35-
</PropertyGroup>
35+
<MainProjectPathCommandArgs Condition="'$(MainProjectPath)' != ''">-MainProjectPath $(MainProjectPath)</MainProjectPathCommandArgs>
36+
</PropertyGroup>
3637

37-
<Exec Command="dotnet $(UsingMSBuildCopyOutputFileToFastDebugTaskFile) -- CopyOutputFile -MainProjectPath $(MainProjectPath) -CleanFilePath $(CleanUsingMSBuildCopyOutputFileToFastDebugFile) -OutputFileToCopyList $(OutputFileToCopyList) -TargetFramework $(TargetFramework)"/>
38+
<Exec Command="dotnet $(UsingMSBuildCopyOutputFileToFastDebugTaskFile) -- CopyOutputFile $(MainProjectPathCommandArgs) -CleanFilePath $(CleanUsingMSBuildCopyOutputFileToFastDebugFile) -OutputFileToCopyList $(OutputFileToCopyList) -TargetFramework $(TargetFramework)"/>
3839
</Target>
3940

4041
<!--<Target Name="ParseLaunchSettings" AfterTargets="AfterBuild"

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.203</Version>
3+
<Version>1.3.205</Version>
44
</PropertyGroup>
55
</Project>

0 commit comments

Comments
 (0)