Skip to content

Commit 6a6b564

Browse files
authored
Mention limitations of the hosting API
1 parent 2485008 commit 6a6b564

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/core/tutorials/netcore-hosting.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,7 @@ A different signature can be used by specifying the delegate type name when call
7070
The native host can now call the managed method and pass it the desired parameters.
7171

7272
[!code-cpp[HostFxrHost#CallManaged](~/samples/snippets/core/tutorials/netcore-hosting/csharp/HostWithHostFxr/src/NativeHost/nativehost.cpp#CallManaged)]
73+
74+
## Limitations
75+
76+
Right now there only one runtime that can be loaded inside single process. It does not matter how it is loaded, either via standard hosting process, or via custom .NET Host, or if you load DLL created using NativeAOT, all of these variants is the same flavour of the runtimes, and as such you cannot mix them inside single process.

0 commit comments

Comments
 (0)