Skip to content

Infragistics Community Forum / Desktop / Ultimate UI for WPF / WPF Cannot Resolve Dependency to Assembly Not Preloaded

WPF Cannot Resolve Dependency to Assembly Not Preloaded

New Discussion
Travis
Travis asked on Oct 3, 2012 7:47 PM

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.

Sign In to post a reply

Replies

  • 0
    Robert Stoffers
    Robert Stoffers answered on Sep 12, 2012 5:33 PM

    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.

    • 0
      Travis
      Travis answered on Sep 12, 2012 8:31 PM

      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"/>

       

      • 0
        Travis
        Travis answered on Sep 12, 2012 8:32 PM

        And sorry — I am trying to learn about the structure of this project as well.  Taking over for a developer that quit!

      • 0
        Travis
        Travis answered on Sep 12, 2012 9:03 PM

        Okay, FYI that path/item does exist and it's being copied locally.

      • 0
        Robert Stoffers
        Robert Stoffers answered on Sep 12, 2012 9:16 PM

        Hi triffle,

        Which path are you referring to?  Do you mean "XXX.XXXXXXModule;component/XXXXXReports/Report1.igr"?

      • 0
        Travis
        Travis answered on Sep 12, 2012 9:26 PM

        Yes — that line I believe is throwing the cannot resolve dependency error. 

      • 0
        Alan Halama
        Alan Halama answered on Sep 13, 2012 12:58 PM

        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?

        • InfragisticsWPF4.Controls.Reports.v11.2
        • InfragisticsWPF4.Models.Data.v11.2
        • InfragisticsWPF4.Models.Presentation.v11.2
        • InfragisticsWPF4.Reports.v11.2

        Knowing whether they are all loaded will help to know what to suggest to do for debugging.

      • 0
        Robert Stoffers
        Robert Stoffers answered on Oct 3, 2012 7:47 PM

        Hi triffle,

        Let me know if you still require assistance on this matter.

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Travis
Favorites
0
Replies
8
Created On
Oct 03, 2012
Last Post
13 years, 4 months ago

Suggested Discussions

Tags

No tags

Created by

Created on

Oct 3, 2012 7:47 PM

Last activity on

Feb 11, 2026 3:45 PM