Page 1 of 1

error with businessclasses in classlibary

Posted: Tue May 11, 2021 8:57 am
by werner_tom
Hello,
please check out my attached sample
WpfAppStimulsoft.zip
(15.44 KiB) Downloaded 486 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