Share via

Microsoft.CodeAnalysis.CSharp for Linux and MAC

CHINTALA Jyostna D 1 Reputation point
2022-09-27T03:18:53.767+00:00

Hi, i have a requirement where my tool(target .NET4.6.1 Framework) supports CodeSnippet (C#) Compilation.

Currently we use, Microsoft.CodeAnalysis.CSharp for the same.

Could you please suggest what can be used to make this codesnippet compilations and executions to work in Linux and MAC

Developer technologies | .NET | Other
Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.


1 answer

Sort by: Most helpful
  1. Jack J Jun 25,316 Reputation points
    2022-09-27T06:52:50.363+00:00

    @CHINTALA Jyostna D , thanks for the feedback, based on my search, I find that somebody has asked the question in StackOveflow. The answer to the question is that we need to use roslyn instead.

    Hope the above link could help you.

    Best Regards,
    Jack


    If the answer is the right solution, please click "Accept Answer" and upvote it.If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.