error with businessclasses in classlibary

Stimulsoft Reports.Wpf discussion
Post Reply
werner_tom
Posts: 3
Joined: Wed Apr 14, 2021 8:31 am

error with businessclasses in classlibary

Post by werner_tom » Tue May 11, 2021 8:57 am

Hello,
please check out my attached sample
WpfAppStimulsoft.zip
(15.44 KiB) Downloaded 64 times

the businessobject classes are located in a classlibary.

in this sample are only some lines of code

Code: Select all

var boAnlageZeiten = new BusinessObjectAnlageZeiten();
StiReport stireport = new StiReport();
stireport.RegData("BusinessAnlageZeiten", boAnlageZeiten);
stireport.Load(@"Reports\Report1.mrt");
stireport.DesignWithWpf();
stireport.ShowWithWpf();
This works.
But if i remove 'stireport.DesignWithWpf();' the 'ShowWithWpf' Method throws a error
' type or namespace not found...'

if the businessobject classes are located in the mainapplication, all works fine.

please help me :cry: :cry:

thanks
Thomas
Post Reply