Studio/Robot can't use .net framework 4.5+


i’m facing a very strange issue on a robot. Trying to open a ZIP file using System.IO.Compression.ZipFile (standard .net framework package) … and Studio/Robot dont seems to see it.
1/ When searching in the Type Wizard, no trace of ZipArchive. Framework 4.7.2 is installed on the PC
(ZipArchive Classe (System.IO.Compression) | Microsoft Learn)
2/ When running in a invoke code, got this message :
Le type ‘System.IO.Compression.ZipArchive’ dans l’assembly ‘netstandard, Version=, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ a été transmis à l’assembly ‘System.IO.Compression’. Soit une référence à ‘System.IO.Compression’ est absente du projet soit le type ‘System.IO.Compression.ZipArchive’ est absent de l’assembly ‘System.IO.Compression’

Fun fact : ZipArchive is present in the netstandard version of .net standard 2.0

anyone got this kind of trouble ?


I have the same issue, Unable to import that library. System.IO.Compression.ZipArchive

Hi @Noppy,

The latest UiPath.System.Activities package includes Zip compress/extract activities as the following image. Can you try to use them?



have a look here:

1 Like

That does it! I had done this earlier but had a typo in Namespace… Fixed this and autocomplete is working. Wish I had seen that other post earlier. Thanks Again.