Microsoft.CodeAnalysis.SyntaxTree issue on server

Hi devs, please assist; On my local machine, the invoke code I used works without throwing error but on live server we got the following error, please how do I resolve…
Method not found: ‘Microsoft.CodeAnalysis.SyntaxTree Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxTree.ParseText(System.String, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions, System.String, System.Text.Encoding, System.Collections.Immutable.ImmutableDictionary`2<System.String,Microsoft.CodeAnalysis.ReportDiagnostic>, System.Threading.CancellationToken)’. record.xaml

Hi @RPA-botDev

Can you need that imported Namespaces in the Live server. Some file may not be imported.

Regards
Gokul

So I should import this?

Microsoft.CodeAnalysis.SyntaxTree?

1 Like

You need to import this Microsoft.CodeAnalysis and based upon the needing @RPA-botDev

Hi,

The following might help you.

Regards,