Skip to content

Commit

Permalink
Revert "Add note that exposing COM components in C++/CLI projects is …
Browse files Browse the repository at this point in the history
…not supp…"

This reverts commit c4ae66e.
  • Loading branch information
Fasa22 authored Oct 18, 2024
1 parent c4ae66e commit a84ab15
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/core/native-interop/expose-components-to-com.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,4 @@ There is a fully functional [COM server sample](https://github.com/dotnet/sample

[Self-contained deployments](../deploying/index.md#publish-self-contained) of COM components are not supported. Only [framework-dependent deployments](../deploying/index.md#publish-framework-dependent) of COM components are supported.

Exposing COM components from [C++/CLI projects](/cpp/dotnet/dotnet-programming-with-cpp-cli-visual-cpp) via the [EnableComHosting property](../project-sdk/msbuild-props.md#enablecomhosting) is not supported.

Additionally, loading both .NET Framework and .NET Core into the same process does have diagnostic limitations. The primary limitation is the debugging of managed components as it is not possible to debug both .NET Framework and .NET Core at the same time. In addition, the two runtime instances don't share managed assemblies. This means that it isn't possible to share actual .NET types across the two runtimes and instead all interactions must be restricted to the exposed COM interface contracts.

0 comments on commit a84ab15

Please sign in to comment.