I have installed nuget for Roslyn
with Install-Package Microsoft.CodeAnalysis -Pre
but i'm still unable to get the method SyntaxTree.ParseFile
as I want to pass code in a .cs
file
Any clue about why is it so ? How can I pass file here?
I have installed nuget for Roslyn
with Install-Package Microsoft.CodeAnalysis -Pre
but i'm still unable to get the method SyntaxTree.ParseFile
as I want to pass code in a .cs
file
Any clue about why is it so ? How can I pass file here?
The API simply changed a little bit, one way to do it is :