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

Hi,

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
(https://docs.microsoft.com/fr-fr/dotnet/api/system.io.compression.ziparchive?view=netframework-4.7.2)
2/ When running in a invoke code, got this message :
Le type ‘System.IO.Compression.ZipArchive’ dans l’assembly ‘netstandard, Version=2.0.0.0, 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 ?
Thanks.

1 Like