From 65df65770e0bf72ff8446fd728c76510e0728324 Mon Sep 17 00:00:00 2001 From: Tiago Bernardo <32572832+tiagobernardo351@users.noreply.github.com> Date: Sat, 29 Nov 2025 00:30:13 +0100 Subject: [PATCH] Fix publish command for no specific runtime dependencies in README for dotnet The command: > dotnet publish -c Release -r --no-self-contained is incorrect. The correct command is without the "-r". The dotnet publish command expects the -r (runtime identifier) option to be followed by a value (for example win-x64, linux-x64, etc.) Later in the document it is indicated the command specific to a runtime, which is correctly using the "-r" option. > dotnet publish -c Release linux-x64 --no-self-contained --- src/eap/building-apps/external-logic/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eap/building-apps/external-logic/README.md b/src/eap/building-apps/external-logic/README.md index 74f3473e..1705197d 100644 --- a/src/eap/building-apps/external-logic/README.md +++ b/src/eap/building-apps/external-logic/README.md @@ -144,7 +144,7 @@ For detailed information about errors, refer to [External libraries SDK errors]( 1. Right-click **{NAME_OF_SOLUTION}** and click **Open in Terminal**. - 1. Execute `dotnet publish -c Release -r --no-self-contained` + 1. Execute `dotnet publish -c Release --no-self-contained` The published code runs in a Linux container. If your library has runtime-specific dependencies then you should publish it specifying the runtime: `dotnet publish -c Release linux-x64 --no-self-contained`