Skip to content

Commit ba85cc8

Browse files
author
MPCoreDeveloper
committed
Fix: GitHub Actions NuGet pack failure (NU5046 icon.png missing)
PROBLEM: dotnet pack failed with NU5046 for tools projects (Demo, DebugBenchmark, Viewer) trying to pack icon.png inherited from Directory.Build.props. SOLUTION: Added IsPackable=false to all 3 tools projects. Tools/demo apps should not be published as NuGet packages. VERIFIED: dotnet pack SharpCoreDB.CI.slnf now succeeds without NU5046 errors.
1 parent cf422c5 commit ba85cc8

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

tools/SharpCoreDB.DebugBenchmark/SharpCoreDB.DebugBenchmark.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<LangVersion>14.0</LangVersion>
9+
<IsPackable>false</IsPackable>
910
<Version>1.0.5</Version>
1011
<PackageId>SharpCoreDB.DebugBenchmark</PackageId>
1112
<Authors>MPCoreDeveloper</Authors>

tools/SharpCoreDB.Demo/SharpCoreDB.Demo.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
<ImplicitUsings>enable</ImplicitUsings>
88
<Nullable>enable</Nullable>
99
<StartupObject>SingleFileDemo</StartupObject>
10+
11+
<!-- This is a demo app, not a NuGet package -->
12+
<IsPackable>false</IsPackable>
13+
1014
<Version>1.0.5</Version>
1115
<PackageId>SharpCoreDB.Demo</PackageId>
1216
<Authors>MPCoreDeveloper</Authors>

tools/SharpCoreDB.Viewer/SharpCoreDB.Viewer.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
88
<LangVersion>14</LangVersion>
99
<ImplicitUsings>enable</ImplicitUsings>
10+
11+
<!-- This is a GUI viewer tool, not a NuGet package -->
12+
<IsPackable>false</IsPackable>
13+
1014
<Version>1.0.5</Version>
1115
<PackageId>SharpCoreDB.Viewer</PackageId>
1216
<Authors>MPCoreDeveloper</Authors>

0 commit comments

Comments
 (0)