File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 23
23
<Copyright >Copyright (C) Daniel Cazzulino and Contributors. All rights reserved.</Copyright >
24
24
<PackageRequireLicenseAcceptance >false</PackageRequireLicenseAcceptance >
25
25
<PackageLicenseExpression >MIT</PackageLicenseExpression >
26
- <PackageIcon >icon.png</PackageIcon >
26
+ <PackageIcon Condition = " Exists('$(MSBuildThisFileDirectory)icon.png') " >icon.png</PackageIcon >
27
27
28
28
<PublishRepositoryUrl >true</PublishRepositoryUrl >
29
29
<GenerateRepositoryUrlAttribute >true</GenerateRepositoryUrlAttribute >
41
41
<None Include =" $(MSBuildThisFileDirectory)icon.png" Link =" icon.png"
42
42
Pack =" true"
43
43
Visible =" false"
44
- PackagePath =" %(Filename)%(Extension)" />
44
+ PackagePath =" %(Filename)%(Extension)"
45
+ Condition =" Exists('$(MSBuildThisFileDirectory)icon.png')" />
45
46
</ItemGroup >
46
47
47
48
<PropertyGroup Label =" Build" >
You can’t perform that action at this time.
0 commit comments