@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.