I am trying to build an application having below 3 layers
- C# Layer
- C++/CLI Wrapper layer
- C++ Layer
I have build C# and C++/CLI layers in .Net Core 3.1. But I am not able to publish this in Linux platform.
From the Microsoft press release for .Net Core 3.1, its saying like .Net core C++/CLI will support only for Windows.
Is there any other way that I can achieve platform independency at C++/CLI layer?
or is there any other way that I can communicate with C++ Layer directly from C#?
I tried to use pInvoke methode. But it cannot transfer C# object to C++.
Target to achieve is that with the same source code it should able to build in Windows, Linux and Mac OS without using any third party services.
Note: For a C# application build in .NetCore we can achieve this. Only thing we need to do is publish the project for different platform.