Prepare throws exception
I am using open source version and trying to create a simple report (.fpx) from a template I created using the community designer (.frx). I want to be able to create an frx file but launch that report from my program substituting data having same schema but filtered by my user. My frx file just connects to a sql server instance and displays selected fields from a table using a SQL query like (select a,b,c from table1). The preview in the designer looks fine.
Then in my VB.Net program (FR installed using latest version in Nuget) I want to convert the frx to fpx so that I can display it using the community viewer. My pseudocode looks like this:
dim report as new fastreport.report
(create datatable dt containing identical data as used in frx)
if report.prepare then report.saveprepared(fpxname)
At the report.prepare statement I get this error: System.TypeLoadException: 'Method 'GetLineMappings' in type 'ParsedSyntaxTree' from assembly 'Microsoft.CodeAnalysis.CSharp, Version=188.8.131.52, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation.'
I suspect that the Nuget package version has incompatible referenced libraries. I tried to roll back to older versions but got different errors each time.
Thanks in advance,