Page 1 of 3

Variables with .NET CORE?

Posted: Wed Aug 19, 2020 1:06 pm
by ednt
Hello,
since I migrated our application from .NET 4.8 to .NET CORE 3.1 we cant enter variables in both the Designer and the Viewer because the Variables Toolbar just not appears (see attachment 1).
I saw 1 error and 1 warning (see attachment 2) but if I try to change from "compilation mode" to "interpretation mode" two errors appearing (see attachment 3 + 4).

So my questions are:
- How can i make the variable panel work again under .NET CORE?
- Need I report.compile() to show variables? Because this method is just not supported in your .NET CORE version :(
- What is the difference between compilation and interpretation mode
- Any Idea how i can fix the errors?

I am using:
- Windows 10 (latest release)
- Visual Studio 2019 (latest release)
- .NET CORE 3.1 (C#) (latest release)
- Stimulsoft.Reports.Engine (latest release) as NuGet Package
- Stimulsoft.Reports.Net (latest release) as NuGet Package
- Stimulsoft.Dashboards.Win (latest release) as NuGet Package

Thank you

Re: Variables with .NET CORE?

Posted: Fri Aug 21, 2020 10:49 am
by Lech Kulikowski
Hello,

- How can i make the variable panel work again under .NET CORE?
We have reproduced the problem, we will make a fix that will be available in the next release or earlier.

- Need I report.compile() to show? Because this method is just not supported in your .NET CORE version
We have plans to add Roslyn's support, but can not say exactly when it will be added.

- What is the difference between compilation and interpretation mode

When you design reports and dashboards, expressions can be processed in the Interpretation or Compilation mode.
In the Compilation mode, the CSharp compiler is used to calculate expressions. In this case, it is allowed to use events, various methods, and functions of the .NET Framework. However, the time taken to build a report or dashboard is slowing down, and it also requires more RAM.
In Interpretation mode, the Stimulsoft interpreter is used to calculate expressions. This speeds up the building of a report or dashboard and reduces the required amount of RAM. However, only built-in functions and methods can be used in a report or dashboard. The use of events and third-party scripts is not allowed.
https://www.stimulsoft.com/en/documenta ... n_mode.htm

- Any Idea how i can fix the?
In this case, wait for the next version or prerelease.

Thank you.

Re: Variables with .NET CORE?

Posted: Fri Aug 21, 2020 11:31 am
by ednt
First, thank you for your reply!
Ok in this case I have to wait for your next release.
But I still wonder if I need report.Compile() to show the variables panel? Is the variables panel working under .NET CORE at all?

Thank you!

Re: Variables with .NET CORE?

Posted: Mon Aug 24, 2020 5:53 pm
by Lech Kulikowski
Hello,

> But I still wonder if I need report.Compile() to show the variables panel?

No, is not needed. Compilation is not supported in the NET Core version.

> Is the variables panel working under .NET CORE at all?

That issue is fixed and will be available in the next release build.

Thank you.

Re: Variables with .NET CORE?

Posted: Wed Aug 26, 2020 8:28 am
by ednt
Hey,

> That issue is fixed and will be available in the next release build.
Very cool, thank you!

Re: Variables with .NET CORE?

Posted: Wed Aug 26, 2020 8:47 am
by Lech Kulikowski
Hello,

We are always glad to help you!
Please let us know if you need any additional help.

Thank you.

Re: Variables with .NET CORE?

Posted: Wed Aug 26, 2020 2:16 pm
by ednt
Hey again,
Are you already know when the next release will be available?

Thank you.

Re: Variables with .NET CORE?

Posted: Wed Aug 26, 2020 8:28 pm
by Lech Kulikowski
Hello,

In the next week.

Thank you.

Re: Variables with .NET CORE?

Posted: Thu Sep 10, 2020 9:47 am
by ednt
Hello,

Still no update :(
You have any news about this?

Thank you.

Re: Variables with .NET CORE?

Posted: Thu Sep 10, 2020 10:08 am
by Lech Kulikowski
Hello,

The new build in the testing, it will be available within several days.

Thank you.