Compilation problem with NETFramework

Stimulsoft Reports.WPF discussion
Post Reply
mgomez
Posts: 10
Joined: Wed Jun 05, 2024 11:24 am

Compilation problem with NETFramework

Post by mgomez »

Hello everyone,

I have created a simple WPF project (with .NETFramework 4.7.2) in which I have installed the package Stimulsoft.Reports.Wpf (version 2024.3.6)

I have only a xaml window like this:
Sc1.jpg
Sc1.jpg (116.39 KiB) Viewed 9714 times
My application builds and executes correctly.

However, If I add the "Name" property (needed to manage the control in the back code) there is an strange error for which I have not found a solution:
Sc2.jpg
Sc2.jpg (141.75 KiB) Viewed 9714 times
If I remove the "Name" property, the error vanishes. But I need to use this property.

Please, could you help me with this?

Thanks
Lech Kulikowski
Posts: 7292
Joined: Tue Mar 20, 2018 5:34 am

Re: Compilation problem with NETFramework

Post by Lech Kulikowski »

Hello,

Try to use "x:Name" instead of "Name".

Thank you.
mgomez
Posts: 10
Joined: Wed Jun 05, 2024 11:24 am

Re: Compilation problem with NETFramework

Post by mgomez »

Hello,

using "x:Name" still the same problem.

thanks
mgomez
Posts: 10
Joined: Wed Jun 05, 2024 11:24 am

Re: Compilation problem with NETFramework

Post by mgomez »

Hello again,

It's solved.It's necessary to use the .NET Framework 4.8 at least, with the version 2024.3.6 of the package Stimulsoft.Reports.Wpf.

Thanks
Lech Kulikowski
Posts: 7292
Joined: Tue Mar 20, 2018 5:34 am

Re: Compilation problem with NETFramework

Post by Lech Kulikowski »

Hello,

Thank you for the information.
Post Reply