I am encountering an issue when attempting to publish my project, and I’m hoping someone can help me troubleshoot.
The error message I’m receiving is as follows:
Bad IL format. The format of the file 'C:\Users\XXXXX\.nuget\packages\uipath.database.activities\1.9.0\lib/net6.0-windows7.0/runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll' is invalid.
I’ve tried the following steps:
Clearing the NuGet cache.
Restarting UiPath Studio.
Verifying that all packages are up to date.
Despite these efforts, the error persists. Has anyone encountered a similar issue? Any suggestions on how to resolve the Bad IL format error related to the Microsoft.Data.SqlClient.SNI.dll file?