Skip to content

Commit ea2f43e

Browse files
committed
icon
1 parent 27a4180 commit ea2f43e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Directory.Build.props

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22
<PropertyGroup>
33
<Version>2.0.8</Version>
44
<Copyright>Copyright © laojiu 2017-2024</Copyright>
5-
<NoWarn>IDE0057</NoWarn>
5+
<NoWarn>IDE0057;IDE0290</NoWarn>
66
</PropertyGroup>
77

88
<PropertyGroup>
99
<Authors>laojiu</Authors>
1010
<Company>laojiu</Company>
11-
<NoWarn>IDE0290</NoWarn>
1211
<LangVersion>latest</LangVersion>
1312
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1413
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
@@ -18,7 +17,7 @@
1817
<UseArtifactsOutput>true</UseArtifactsOutput>
1918
</PropertyGroup>
2019

21-
<PropertyGroup>
20+
<PropertyGroup>
2221
<IncludeSymbols>True</IncludeSymbols>
2322
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
2423
<PublishRepositoryUrl>true</PublishRepositoryUrl>
@@ -29,7 +28,7 @@
2928
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All"/>
3029
</ItemGroup>
3130

32-
<ItemGroup>
31+
<ItemGroup Condition="'$(GeneratePackageOnBuild)' == 'true'">
3332
<None Include="..\icon.png">
3433
<Pack>True</Pack>
3534
<PackagePath>\</PackagePath>

0 commit comments

Comments
 (0)