From 1a4acbc78c5a732cfacf8847102deee274b0dac4 Mon Sep 17 00:00:00 2001 From: agracio Date: Fri, 25 Oct 2024 15:58:32 +0100 Subject: [PATCH] merging https://github.com/agracio/edge-js/pull/227 README --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8cd54e71..d6a7991d 100644 --- a/README.md +++ b/README.md @@ -777,7 +777,9 @@ set EDGE_APP_ROOT=c:\DotNet\MyProject\bin\Release\netstandard1.6 node app.js ``` -Edge.js also supports running published .NET Core applications on servers that do not have the .NET Core SDK and CLI installed, which is a common scenario in production environments. To do so, the `.csproj` for your application should meet the following requirements: +When calling a compiled assembly, Edge.js supports running with only the .NET runtime installed (and not the SDK or CLI). In this case a `appname.runtimeconfig.json` has to be created when building the project an present in your `EDGE_APP_ROOT` directory. `true`should be present under `` in your `.csproj`file to create this file. + +Edge.js also supports running published .NET Core applications on servers that do not have the .NET Core SDK and CLI or .NET runtime installed, which is a common scenario in production environments. To do so, the `.csproj` for your application should meet the following requirements: 1. It should target the `netcoreapp2.x` or `netstandard2.0` framework moniker. 2. It should reference `Microsoft.NETCore.DotNetHost` and `Microsoft.NETCore.DotNetHostPolicy`. This is required so that the publish process can provide all the native libraries required to create a completely standalone version of your application.