I am getting the following error:
Error 44 Unknown build error, 'Cannot resolve dependency to assembly 'InfragisticsWPF4.Reports.v11.2, Version=11.2.20112.1010, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event. Line 421 Position 27.' Ce
I have double checked that I am referencing the right version of the assembly, FYI.
Hi triffle,
Do you have any other reporting assemblies in your project as well? If you're using the XamReportViewer in your application then normally it would include a set of other assemblies as well.
InfragisticsWPF4.Controls.Reports.v11.2
InfragisticsWPF4.Models.Data.v11.2
InfragisticsWPF4.Models.Presentation.v11.2
InfragisticsWPF4.Reports.v11.2
Is your solution setup where you have multiple projects, some being libraries that include the reporting dlls, and these libraries are included in the main application? I'm basically just looking to get some information about the structure of your application.
I don't think it has to do with the Infragistics controls. I think it's a WPF thing I am still looking into it:
<Reports:ClientRenderSettings DefinitionUri="/XXX.XXXXXXModule;component/XXXXXReports/Report1.igr"/>
And sorry -- I am trying to learn about the structure of this project as well. Taking over for a developer that quit!
Let me know if you still require assistance on this matter.
Hello triffle,
Have you used either the modules window in Visual Studio or a tool like Process Explorer to look at the loaded assemblies in your application to verify that all of the following are already loaded?
Knowing whether they are all loaded will help to know what to suggest to do for debugging.
Yes -- that line I believe is throwing the cannot resolve dependency error.
Which path are you referring to? Do you mean "XXX.XXXXXXModule;component/XXXXXReports/Report1.igr"?
Okay, FYI that path/item does exist and it's being copied locally.