Skip to content

Commit 817fb79

Browse files
author
Sujit Nayak
committed
Update ClickOnce targets to reference publishing deps.json from the IntermediateDepsFilePath. The file gets copied to the PublishDepsFilePath during the copy targets which is too late for ClickOnce's manifest generation task.
1 parent 71ab191 commit 817fb79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.ClickOnce.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Copyright (c) .NET Foundation. All rights reserved.
5959
<!-- Get correct deps json files based on _UseBuildDependencyFile -->
6060
<ItemGroup>
6161
<ProjectDepsFilesForClickOnce Condition="'$(_UseBuildDependencyFile)' == 'true'" Include="$(ProjectDepsFilePath)"/>
62-
<ProjectDepsFilesForClickOnce Condition="'$(_UseBuildDependencyFile)' != 'true'" Include="$(PublishDepsFilePath)"/>
62+
<ProjectDepsFilesForClickOnce Condition="'$(_UseBuildDependencyFile)' != 'true'" Include="$(IntermediateDepsFilePath)"/>
6363
</ItemGroup>
6464

6565
<!-- Add runtimeconfig and deps json file to item group that's included in files for clickonce publishing -->

0 commit comments

Comments
 (0)