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)’.
I am receiving this error on an Invoke Code activity that runs a few lines of VB.Net code. This error does not appear on the master branch of this project but it does appear on a feature branch that I am working on.
I have tried to import the namespaces that are available, I’ve tried to add “Microsoft.Office.Interop.Excel” as a dependency, and I’ve tried to edit the Main.xaml file through notepad by adding a few lines. Nothing has worked
I don’t think the quotes were the issue. I removed the one set of quotes and it still shows an error. It seems to be more of an issue with the namespaces/imports/methods for some reason.
I had this Invoke Code activity in the master branch of one of my projects. When I split off and copied to the code to a new feature branch, this invoke code activity no longer worked and had an error