Page 1 of 1

Breaking change?

Posted: Tue May 21, 2019 4:54 pm
by leosbrf
After I update the following packages from 2019.2.1 to 2019.3.1:

- Stimulsoft.Dashboards.Web
- Stimulsoft.Reports.Engine
- Stimulsoft.Reports.Web

The following compile errors started to show:

- 'StiWebViewer' does not contain a definition for 'GlobalizationFile' and no accessible extension method 'GlobalizationFile' accepting a first argument of type 'StiWebViewer' could be found (are you missing a using directive or an assembly reference?)
- 'StiWebViewer' does not contain a definition for 'ShowExportToMetafile' and no accessible extension method 'ShowExportToMetafile' accepting a first argument of type 'StiWebViewer' could be found (are you missing a using directive or an assembly reference?)
- 'StiWebViewer' does not contain a definition for 'ShowExportToSvg' and no accessible extension method 'ShowExportToSvg' accepting a first argument of type 'StiWebViewer' could be found (are you missing a using directive or an assembly reference?)
- 'StiWebViewer' does not contain a definition for 'ShowExportToSvgz' and no accessible extension method 'ShowExportToSvgz' accepting a first argument of type 'StiWebViewer' could be found (are you missing a using directive or an assembly reference?)


Are there any breaking changes that I am not aware of? I read the release notes, but it did not mentioned anything about these kind of changes.

Best regards.

Re: Breaking change?

Posted: Wed May 22, 2019 7:50 am
by Lech Kulikowski
Hello,

These properties were marked obsolete a few years ago, and the code was refactored in the new version.
Please use the following properties:
GlobalizationFile -> Localization
ShowExportToMetafile -> ShowExportToImageMetafile
ShowExportToSvg -> ShowExportToImageSvg
ShowExportToSvgz -> ShowExportToImageSvgz

Thank you.

Re: Breaking change?

Posted: Wed May 22, 2019 2:51 pm
by leosbrf
Ok, thank you.

Re: Breaking change?

Posted: Wed May 22, 2019 10:23 pm
by Lech Kulikowski
Hello

Please let us know if you need any additional help.

Thank you.