Update libraries' building docs for native components (#70284)
authorGünther Foidl <gue@korporal.at>
Mon, 6 Jun 2022 20:56:03 +0000 (22:56 +0200)
committerGitHub <noreply@github.com>
Mon, 6 Jun 2022 20:56:03 +0000 (22:56 +0200)
* Update libraries' building docs for native components

Also added a (short) ReadMe.md to src/native/libs.

* Removed trailing whitespace

* Update src/native/libs/ReadMe.md

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
docs/workflow/building/libraries/README.md
src/native/libs/ReadMe.md [new file with mode: 0644]

index 9d2e9e4..14093a1 100644 (file)
@@ -116,6 +116,11 @@ The libraries build contains some native code. This includes shims over libc, op
 ./src/native/libs/build-native.sh debug x64
 ```
 
+- Building and updating the binplace (for e.g. the testhost), which is needed when iterating on native components
+```bash
+dotnet.sh build src/native/libraries/build-native.proj
+```
+
 - The following example shows how you would do an arm cross-compile build
 ```bash
 ./src/native/libs/build-native.sh debug arm cross verbose
diff --git a/src/native/libs/ReadMe.md b/src/native/libs/ReadMe.md
new file mode 100644 (file)
index 0000000..49397ce
--- /dev/null
@@ -0,0 +1,3 @@
+For information on how to build, how to update the binplacing of the native artifacts please refer to
+[How to building native components only](../../../docs/workflow/building/libraries/README.md#how-to-building-native-components-only)
+section in the libraries' building document.