Skip to content

Commit 2f5d6d5

Browse files
Allow override of DependencyKey value (#8183)
1 parent 0ff4d32 commit 2f5d6d5

File tree

1 file changed

+3
-1
lines changed
  • src/Microsoft.DotNet.Build.Tasks.SharedFramework.Sdk/targets/windows

1 file changed

+3
-1
lines changed

src/Microsoft.DotNet.Build.Tasks.SharedFramework.Sdk/targets/windows/variables.wxi

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
<?error Invalid Platform ($(var.Platform))?>
2424
<?endif?>
2525

26-
<?define DependencyKey = "$(var.DependencyKeyName)_$(var.BuildVersion)_$(var.Platform)$(var.CrossArchContentsPlatformPart)"?>
26+
<?ifndef DependencyKey?>
27+
<?define DependencyKey = "$(var.DependencyKeyName)_$(var.BuildVersion)_$(var.Platform)$(var.CrossArchContentsPlatformPart)"?>
28+
<?endif?>
2729
<?define DependencyKeyId = "$(var.DependencyKey)" ?>
2830

2931
</Include>

0 commit comments

Comments
 (0)