COM Hosting not supported for C++/CLR projects (.NET Core+)
- Dominant language
- C#
- Stars
- 3.2k
- Forks
- 1.3k
- PR merge metrics
- PR metrics pending
Description
### Description
I've added
`True`
to my .vcxproj to expose a managed class (.NET 6.0) to COM, but the compiler seems that don't know how to generate the Com Hosting for C++/CLR projects.
I get the error "Could not copy the file xxx.comhost.dll because it was not found."
### Reproduction Steps
- Create a C++/CLR Library targeting .NET 6.0
- Add EnableComHosting to the project
- Compile
### Expected behavior
Compilation without errors and comhost.dll generated
### Actual behavior
Compilation error
### Regression?
_No response_
### Known Workarounds
_No response_
### Configuration
_No response_
### Other information
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.