none
.NET Core on Linux and MAC RRS feed

  • Question

  • Can you call a .NET Core library from native C++ on Linux and MAC.  I know this is possible through C++/CLI on windows, is there an option on Linux?
    Thursday, June 11, 2020 1:38 PM

All replies

  • Hi jnkarate,

    Thank you for posting here.

    C++/CLI depends on the Microsoft’s CL compiler which doesn’t run on Linux and Mac and cannot target those platforms from Windows. It is Windows OS specific technology, so it is not supported on other platforms.

    Here are two references you can refer to:

    1. C++/CLI Support in .Net Core
    2. The Future of C++/CLI and .NET Core 3

    Hope them could be helpful.

    Best Regards,

    Xingyu Zhao


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, June 12, 2020 1:49 AM
    Moderator