I had Main.xaml where all workflow was defined. It had “Invoke Code” activity where in I had used AsEnumerable extension method for a Data Table. This code was running perfectly.
Now I chose “Extract Workflow” and made a new.xaml, so all my workflow went in new.xaml making Main.xaml empty.
Now I added new flowchart in main.xaml and added “Invoke Workflow File” activity and gave new.xaml path there.
I started getting below error for AsEnumerable.
I checked and verified at every activity level, System.Linq namespace is imported.
Why did I get this error then?