Targeting Web Application to net10.0-windows and new (2026.2) merged packages

Stimulsoft Reports.WEB discussion
Post Reply
ssh
Posts: 4
Joined: Fri May 12, 2017 5:00 am

Targeting Web Application to net10.0-windows and new (2026.2) merged packages

Post by ssh »

Hello,

what is the right way to target a web application to net10.0-windows?

TF net10.0-windows resloves Stimulsoft.Reports.Web to net10.0 and Stimulsoft.Reports.Engine to net10.0-windows7.0. There are issues with dependencies, i.e. Stimulsoft.Drawing.
TF net10.0 resolves Stimulsoft assemblies to net10.0 with no issues, but there are issues with third party windows-only-packages (net10.0-windows).

With NetCore naming it was easy to reference the right dependency graph by the package name.

Regards,

SSH
Lech Kulikowski
Posts: 7779
Joined: Tue Mar 20, 2018 5:34 am

Re: Targeting Web Application to net10.0-windows and new (2026.2) merged packages

Post by Lech Kulikowski »

Hello,

The regular version (without .NET Core), starting from release 2026.2.1, now includes net-windows and net assemblies. NuGet will automatically install the one that matches the TargetFramework of your project. The assemblies for net in this package are exactly the same as in .NET Core.

Thank you.
ssh
Posts: 4
Joined: Fri May 12, 2017 5:00 am

Re: Targeting Web Application to net10.0-windows and new (2026.2) merged packages

Post by ssh »

the problem is the assemblies net10.0 (Web) and net10.0-windows (Engine) are not compatible. there is no Stimulsoft.Drawing assembly in the Stimulsoft.Reports.Engine (net10.0-windows7.0). so the viewer cannot render the report.

{"Could not load file or assembly 'Stimulsoft.Drawing, Version=2026.2.3.0, Culture=neutral, PublicKeyToken=73df5cf8c5255bdd'. The system cannot find the file specified.":"Stimulsoft.Drawing, Version=2026.2.3.0, Culture=neutral, PublicKeyToken=73df5cf8c5255bdd"}

at Stimulsoft.Report.Web.StiFontsHelper.GetCustomOpenTypeFontItems(Boolean allowLoadingCustomFonts)
at Stimulsoft.Report.Web.StiFontsHelper.GetCustomOpenTypeFontItems(Boolean allowLoadingCustomFonts)
at Stimulsoft.Report.Mvc.StiNetCoreViewer.RenderJsonParameters()
at Stimulsoft.Report.Mvc.StiNetCoreViewer.CreateChildControls()
at Stimulsoft.Report.Mvc.StiNetCoreViewer.Render(HtmlTextWriter writer)
at Stimulsoft.System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at Stimulsoft.Report.Mvc.StiNetCoreHelper.StiNetCoreViewer(IHtmlHelper htmlHelper, String ID, StiNetCoreViewerOptions options, Hashtable formKeys)
at Stimulsoft.Report.Mvc.StiNetCoreHelper.StiNetCoreViewer(IHtmlHelper htmlHelper, StiNetCoreViewerOptions options)
ssh
Posts: 4
Joined: Fri May 12, 2017 5:00 am

Re: Targeting Web Application to net10.0-windows and new (2026.2) merged packages

Post by ssh »

Web Application, TF net10.0-windows

2026.1:
Stimulsoft.Reports.Web.NetCore (net10.0)->Stimulsoft.Reports.Engine.NetCore (net10.0)

2026.2:
Stimulsoft.Reports.Web (net10.0)->Stimulsoft.Reports.Engine (net10.0-windows)

...so, it's not the same
Lech Kulikowski
Posts: 7779
Joined: Tue Mar 20, 2018 5:34 am

Re: Targeting Web Application to net10.0-windows and new (2026.2) merged packages

Post by Lech Kulikowski »

Hello,

Yes, there is an issue. At the moment, please use only the net10.0 target framework without the Windows-specific suffix.
We will review the packages and most likely Reports.Web will also be compiled for the -windows target framework.

Thank you.
#20439
Post Reply