I'm facing a FileLoadException when running my Script component in SSIS 2022, specifically related to loading the System.Runtime assembly version 6.0.0.0. The complete error message is as follows:
Could not load assembly l'assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
In the SSIS package, I have Azure blob methods to upload some attachments. All the Azure blob nugets are latest.
Environment:
- Target: .NETframework 4.7
- Development environment: Visual Studio 2022
- Operating system: Windows 11
I found hundreds of suggestions, none helped me.
I added manually the assembly in app.config
<dependentAssembly> <assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/> <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0"/> </dependentAssembly>, without result.
Solution Steps:
Troubleshooting Tips for SSIS or Console Applications: