G
Garry Hall
Guest
The error message is telling you that the AVM was trying to load Telerik.WinControls.ChartView version 2016.2.608.40, but could not find it. If your deployed assemblies.xml contains the reference to version 2015.2.278.40, then there is some reference somewhere to version 2016.2.608.40. When the AVM loads the CLR, it load the assembly references from assembly.xml. As it executes r-code, it can find r-code that was compiled with a different version of the assembly (the assembly version is written into the r-code). The AVM will try to load that assembly. However, if your dev (or build) environment really only contains version 2015.2.278.40, then the r-code would not contain newer references to 2016.2.608.40. You might really want to verify that the version of the assembly you build the r-code with is indeed the older version. You could try to open the r-code in a text editor/viewer, and search through for strings containing ChartView. I would not usually recommend this, but I don't think there is a way to check the .NET references of r-code, and such strings are fairly obvious. I don't know the inheritance or dependencies with Telerik controls, but maybe it is the RadChart that is requiring the newer version of ChartView. I would have expected the error message to say it could not load RadChart, if it had a failed dependency on ChartView. I think the correct solution is to bring your Telerik assemblies to the same level. You seem to have a mismatch of versions in your dev environment.
Continue reading...
Continue reading...