The new 19.4460.0.48 Syncfusion.Pdf.Base causes a build error due to a missing dependency which is impossible to find even with output set to detailed. This only happens during the publish phase. It will build with a simple compile.
I have been using the for over 10+ years, so this is existing and working code. This failed during the publish of the project after a NuGet update to .48. Since version .47, new entries have been added to the web.config file in the assemblyBinding area which means something has changed on your end to have to use this. The settings in the assemblyBinding are not being updated, meaning .47 was not updated to .48 even though I received numerous dialogs regarding updating and saving the web.config file.
In short, I did a NuGet update and did a publish. I got the error message that a dependency was not found within the publish. I was dead in the water.
It appears that your mechanism in the NuGet is not operating properly in removing, adding or updating the components. It took me a couple of hours to try to fix this mess that was not of my own making.
And next time, please read the post. It is clear you did not and were just providing a stock
Hi Matthew,
We checked the reported problem by upgrading the Syncfusion.Pdf.Aspnet package to the 19.4.0.48 version from 19.4.0.47 and then publishing the application. The version has been updated properly to the assemblybindingredirect section in web.config file and we didn’t face any problems in the publishing phase. If you again face this kind of issues while updating the NuGet package in upcoming version, kindly let us know along with the screenshot of the output window. We will check this issue in your machine.
Thanks,
Kalirajan Ganesan
Kalirajan, thanks for the update.
I just performed a NuGet update on another project. Below is the screen grab before the update:
After the update no change. This was being updated 19.4.0.48. The file had been opened because it had been checked out from the Team Explorer.
Hi Mathew Smith,
We can reproduce the reported problem. While downgrading the
Syncfusion.Pdf.Aspnet package, its dependency packages were not downgraded, and
binding redirection added. After upgrading the Syncfusion.Pdf.Aspnet package,
its dependency package has updated but the selected version is not updated in the
binding redirection. We'll investigate this issue and get back to you as soon
as possible.
Thanks,
Kalirajan Ganesan