Skip to content

Commit 498c798

Browse files
authored
Workaround duplicate package icon in packages (#39736)
Real fix is dotnet/arcade#5818 but that will take a while to make it into the preview8 branches (if at all).
1 parent 44446b1 commit 498c798

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

eng/packaging.targets

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
<Project>
2+
<ItemGroup>
3+
<!-- workaround duplicate icon. If PackageIconFile is set, don't include PackageIconFullPath in package
4+
can be removed when we have an arcade build with https://github.com/dotnet/arcade/pull/5818 -->
5+
<None Condition="'$(PackageIconFile)' != ''" Update="$(PackageIconFullPath)" Pack="false" />
6+
</ItemGroup>
27
<!-- There are some packages where we require only one ref for a specific framework to be present. In order to avoid problems with this package when targetting
38
dektop with RAR we will make sure there are no exclude=compile references in the package.
49
For more info, please check issues:
@@ -26,4 +31,4 @@
2631
'$(_excludeCompile)' == 'true' and
2732
'%(Dependency.Identity)' != '_._'" />
2833
</Target>
29-
</Project>
34+
</Project>

0 commit comments

Comments
 (0)