How can I fix "Bad IL format" Error when Publishing after UiPath.Form.Activities Install?

I added the UiPath.Form.Activities (version 1.96) to my C# UiPath Project. Now, when I publish my project, numerous Bad IL format. messages show following the INITIALIZATION: Loading dependencies (see below).

How can I resolve these Bad IL format errors?

message list:

05/20/2022 10:26:47 => [Info] INITIALIZATION: Validating arguments.
05/20/2022 10:26:47 => [Debug] INITIALIZATION: Loading dependencies.
05/20/2022 10:26:47 => [Error] Bad IL format. The format of the file ‘C:\Users\GaryR.nuget\packages\uipath.cefsharpbundle.netcore\1.8.0\lib/net5.0-windows7.0/chrome_elf.dll’ is invalid.
05/20/2022 10:26:47 => [Error] Bad IL format. The format of the file ‘C:\Users\GaryR.nuget\packages\uipath.cefsharpbundle.netcore\1.8.0\lib/net5.0-windows7.0/d3dcompiler_47.dll’ is invalid.
05/20/2022 10:26:47 => [Error] Bad IL format. The format of the file ‘C:\Users\GaryR.nuget\packages\uipath.cefsharpbundle.netcore\1.8.0\lib/net5.0-windows7.0/Ijwhost.dll’ is invalid.
05/20/2022 10:26:47 => [Error] Bad IL format. The format of the file ‘C:\Users\GaryR.nuget\packages\uipath.cefsharpbundle.netcore\1.8.0\lib/net5.0-windows7.0/libcef.dll’ is invalid.
05/20/2022 10:26:47 => [Error] Bad IL format. The format of the file ‘C:\Users\GaryR.nuget\packages\uipath.cefsharpbundle.netcore\1.8.0\lib/net5.0-windows7.0/libEGL.dll’ is invalid.
05/20/2022 10:26:47 => [Error] Bad IL format. The format of the file ‘C:\Users\GaryR.nuget\packages\uipath.cefsharpbundle.netcore\1.8.0\lib/net5.0-windows7.0/libGLESv2.dll’ is invalid.
05/20/2022 10:26:47 => [Error] Bad IL format. The format of the file ‘C:\Users\GaryR.nuget\packages\uipath.cefsharpbundle.netcore\1.8.0\lib/net5.0-windows7.0/msvcp140.dll’ is invalid.
05/20/2022 10:26:47 => [Error] Bad IL format. The format of the file ‘C:\Users\GaryR.nuget\packages\uipath.cefsharpbundle.netcore\1.8.0\lib/net5.0-windows7.0/vcruntime140.dll’ is invalid.
05/20/2022 10:26:47 => [Error] Bad IL format. The format of the file ‘C:\Users\GaryR.nuget\packages\uipath.cefsharpbundle.netcore\1.8.0\lib/net5.0-windows7.0/vcruntime140_1.dll’ is invalid.
05/20/2022 10:26:47 => [Error] Bad IL format. The format of the file ‘C:\Users\GaryR.nuget\packages\uipath.cefsharpbundle.netcore\1.8.0\lib/net5.0-windows7.0/vk_swiftshader.dll’ is invalid.
05/20/2022 10:26:47 => [Error] Bad IL format. The format of the file ‘C:\Users\GaryR.nuget\packages\uipath.cefsharpbundle.netcore\1.8.0\lib/net5.0-windows7.0/vulkan-1.dll’ is invalid.
05/20/2022 10:26:47 => [Error] Bad IL format. The format of the file ‘C:\Users\GaryR.nuget\packages\uipath.cefsharpbundle.netcore\1.8.0\lib/net5.0-windows7.0/swiftshader/libEGL.dll’ is invalid.
05/20/2022 10:26:47 => [Error] Bad IL format. The format of the file ‘C:\Users\GaryR.nuget\packages\uipath.cefsharpbundle.netcore\1.8.0\lib/net5.0-windows7.0/swiftshader/libGLESv2.dll’ is invalid.

Additional Info:
Using Windows 11
After installation of UiPath.Form.Activities, any attempts to use Open Form Designer fail.

1 Like

did you get solution for that?