Hi,
I have a managed C++ component that references a C# assembly based on .net 4.7.2. We are considering our software on Linux and hence are evaluating .Net core as an option.
What is not clear to me from all the docs is how to proceed with migration of the managed C++ component (/clr) over to .Net core. How do I reference my C# based .net core classes from the C++ code migrated to Linux (g++) which will no longer be aware of C# assemblies?
C++/CLI support is coming in .NET Core 3.0 - @richlander can you please provide details?
cc @leecow
Hi, please also do suggest what would be the equivalent of the C++/CLI (/clr) on the Linux world! from .NET core porting perspective from Windows to Linux.
@richlander, @karelz
I am waiting for some direction on how to port my .net framework code which uses C++/CLI to .net core on Linux. Let me know if I can provide any additional inputs
what do I need to do get a quick response?
Not sure if you're going to get quick response from @richlander
I have no idea what are our plans in the space sadly.
@richlander 2 months old question ... can you please reply?
Any progress on C++/CLI for .NET Core?
I am interested to. Any update on whether/when C++/CLI will be supported in .NET Core?
Here's a recent announcement about this: https://devblogs.microsoft.com/cppblog/the-future-of-cpp-cli-and-dotnet-core-3/
This is also discussed here: https://github.com/dotnet/coreclr/issues/659
I am also in this same situation. Currently .Net Cor C++/CLI only support windows. But I am looking for a Linux Application.
C# side I have a .NetCore application,
C++ side I can Manage Platform Independency.
But C++/CLI I have no idea how to make it platform independent.
Can someone please suggest a method?
Currently, the only workaround to get to this goal is to remove all the C++/CLI code and replace the code in question with DllImportAttribute calls. You may even need to create a C compatible bindings for the C++ code that your attempting to integrate with.
Most helpful comment
Here's a recent announcement about this: https://devblogs.microsoft.com/cppblog/the-future-of-cpp-cli-and-dotnet-core-3/