Page 1 of 1
Custom Components Sample
Posted: Tue May 27, 2014 12:47 pm
by kokot
Hello guys
I am evaluating your reporting solution.
When running Sample solutions I get following error in Custom Component solution
The error of compilation is found in the 'Report' report:
Could not load file or assembly 'CustomComponent.Wpf.exe' or one of its dependencies.
dependencies seems to be ok, so I don't know what is wrong.
thank you for your help
Re: Custom Components Sample
Posted: Wed May 28, 2014 7:40 am
by Alex K.
Hello,
Please change the following code in the Window1.xaml:
Code: Select all
Title="Custom Component" Height="300" Width="300" WindowStartupLocation="CenterScreen" Icon="/CustomComponent;component/app.net.ico">
Thank you.
Re: Custom Components Sample
Posted: Wed May 28, 2014 1:32 pm
by kokot
Hello Aleksey
Thank you for your answer the error is still there.
I ran the CustomComponent project succesfully.
I open the designer, everything works But when I click on the report checker there is the error.
The error of compilation is found in the 'Report' report:
Could not load file or assembly 'CustomComponent.Wpf.exe' or one of its dependencies.
And by the way, what is this custom component that should be shown it is not clear from the sample project?
Re: Custom Components Sample
Posted: Thu May 29, 2014 7:38 am
by Alex K.
Hello,
Please check the archive in the attachment.
Thank you.
Re: Custom Components Sample
Posted: Thu May 29, 2014 8:20 am
by kokot
The custom component is there, but the report checker throws that error.
So that error is ok and can be ignored?
Re: Custom Components Sample
Posted: Thu May 29, 2014 11:54 am
by Alex K.
Hello,
Sorry for the mistake. Please try to change the folowing code in project (remove string "Wpf"):
Code: Select all
#region Add reference to your assembly
"CustomComponent.exe" // old "CustomComponent.Wpf.exe"
#endregion
or in Referenced Assemblies property in desiger.
Thank you.
Re: Custom Components Sample
Posted: Fri May 30, 2014 7:57 am
by kokot
Yeah it works, finally.
Re: Custom Components Sample
Posted: Fri May 30, 2014 8:05 am
by Alex K.
Hello,
Let us know if you need any additional help.