about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2022-07-28 12:02:23 +0000
committerGitHub <noreply@github.com>2022-07-28 12:02:23 +0000
commit437247fc43214bb3c33f2e8f612cdbc206236a97 (patch)
tree9173ddae081be5f05a4f83958a86229098b9a800 /doc
parenta802ad3445129b7ace80ee0d1f930e6c2081f13f (diff)
parent0d7024ccd8ee71ef31b23c724b1d3d197c533015 (diff)
downloadnixlib-437247fc43214bb3c33f2e8f612cdbc206236a97.tar
nixlib-437247fc43214bb3c33f2e8f612cdbc206236a97.tar.gz
nixlib-437247fc43214bb3c33f2e8f612cdbc206236a97.tar.bz2
nixlib-437247fc43214bb3c33f2e8f612cdbc206236a97.tar.lz
nixlib-437247fc43214bb3c33f2e8f612cdbc206236a97.tar.xz
nixlib-437247fc43214bb3c33f2e8f612cdbc206236a97.tar.zst
nixlib-437247fc43214bb3c33f2e8f612cdbc206236a97.zip
Merge staging-next into staging
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/dotnet.section.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/languages-frameworks/dotnet.section.md b/doc/languages-frameworks/dotnet.section.md
index 408446674e90..4c245a7544e1 100644
--- a/doc/languages-frameworks/dotnet.section.md
+++ b/doc/languages-frameworks/dotnet.section.md
@@ -87,6 +87,7 @@ To package Dotnet applications, you can use `buildDotnetModule`. This has simila
 * `executables` is used to specify which executables get wrapped to `$out/bin`, relative to `$out/lib/$pname`. If this is unset, all executables generated will get installed. If you do not want to install any, set this to `[]`. This gets done in the `preFixup` phase.
 * `runtimeDeps` is used to wrap libraries into `LD_LIBRARY_PATH`. This is how dotnet usually handles runtime dependencies.
 * `buildType` is used to change the type of build. Possible values are `Release`, `Debug`, etc. By default, this is set to `Release`.
+* `selfContainedBuild` allows to enable the [self-contained](https://docs.microsoft.com/en-us/dotnet/core/deploying/#publish-self-contained) build flag. By default, it is set to false and generated applications have a dependency on the selected dotnet runtime. If enabled, the dotnet runtime is bundled into the executable and the built app has no dependency on Dotnet.
 * `dotnet-sdk` is useful in cases where you need to change what dotnet SDK is being used.
 * `dotnet-runtime` is useful in cases where you need to change what dotnet runtime is being used. This can be either a regular dotnet runtime, or an aspnetcore.
 * `dotnet-test-sdk` is useful in cases where unit tests expect a different dotnet SDK. By default, this is set to the `dotnet-sdk` attribute.