Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
115
Could not load file or assembly InfragisticsSL4.v10.3 or one of its dependencies. The system cannot find the file specified.
posted

I am getting this error when I attempt to build my project (I am using Data Visualization for Silverlight). I had all of this working but I had to rebuild my machine. Since then, I have been unable to get it to compile.

Here is the error:

"Could not load file or assembly 'InfragisticsSL4.v10.3, Version=10.3.20103.1006, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' or one of its dependencies. The system cannot find the file specified."

I need to point out that I have modified the source code (I added a class to the XamMap project). Everything in the DV solution builds fine, though. I copied the resulting binaries to the proper place under Program Files (I think).

I have all of the correct refrences in my project, but I still get this error.

I am using Visual Studio 2010.

Any ideas?

Parents
No Data
Reply
  • 115
    Verified Answer
    posted

    I finally figured this out for those of you that may run into this in the future.

    Since I altered the source code, I had to copy ALL of the newly built DLLs over to the Program Files\Infragistics folders. Once I did that, I had to go back into VS and do some odd things.

    The first thing I did was removed all of the Infragistices references (I am using XamDataChart, XamGauge, XamPivotGrid, XamMap, and DtatVisualization and InfragisticsSL4.v10.3).

    I then closed Visual Studio.

    I opened Visual Studio again and attempted a build (without adding the references). It failed. I then added the references by navigating to "Program Files\Infragistics" and pulled the DLLs from there.

    I then rebuilt.  Got a few errors about a missing reference for some of the controls.  This is where it gets strange. I had to switch to Release mode, rebuild, then switch back to debug mode. Once I did that, all controls built except for one - the XamMap (which is the DLL that I altered). All I had to do was load the XAML for the page that I used the map in, remove the actual <ig:XamMap/> tag and all of its contents, and then rebuild. Of course, it failed once more.  So I added the <ig:XamMap/> tag back and rebuilt.

    It worked.

    I now have a configuration that works. I hope that some of this will be of use to anyone with this problem in the future.

Children