Page 1 of 1

Compilation problem with NETFramework

Posted: Fri Sep 27, 2024 7:56 am
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 9809 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 9809 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

Re: Compilation problem with NETFramework

Posted: Fri Sep 27, 2024 8:53 am
by Lech Kulikowski
Hello,

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

Thank you.

Re: Compilation problem with NETFramework

Posted: Fri Sep 27, 2024 10:32 am
by mgomez
Hello,

using "x:Name" still the same problem.

thanks

Re: Compilation problem with NETFramework

Posted: Fri Sep 27, 2024 12:21 pm
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

Re: Compilation problem with NETFramework

Posted: Mon Sep 30, 2024 1:04 pm
by Lech Kulikowski
Hello,

Thank you for the information.