From 911206a1154463cadf421e8690144503720a3f0f Mon Sep 17 00:00:00 2001
From: Alexa <53471801+Alexa-RR@users.noreply.github.com>
Date: Tue, 16 Jun 2026 01:02:55 +0300
Subject: [PATCH] fix(cli): declare RuntimeIdentifiers so no-restore publish
works
CI restores without a RID then publishes per-RID with no-restore, which failed NETSDK1047 because the assets file had no RID targets. Declaring RuntimeIdentifiers makes the RID-less restore cover all of them.
---
cli/DorkNet.ServerCli/DorkNet.ServerCli.csproj | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/cli/DorkNet.ServerCli/DorkNet.ServerCli.csproj b/cli/DorkNet.ServerCli/DorkNet.ServerCli.csproj
index 0a62991..5f4ca0e 100644
--- a/cli/DorkNet.ServerCli/DorkNet.ServerCli.csproj
+++ b/cli/DorkNet.ServerCli/DorkNet.ServerCli.csproj
@@ -6,6 +6,10 @@
alongside Windows. The shared Backend classes are written to
OperatingSystem.IsWindows()-gate any Windows-only paths. -->
net9.0
+
+ win-x64;linux-x64;linux-arm64;osx-x64;osx-arm64
enable
enable
DorkNet.ServerCli