As per my requirement i need to zip the folder to achieve this i am using the invoke code where it is working earlier (2018.2.3) but after i migrated my uipath studio 2018.3.2 its giving error like below.
Invoke method: Could not load file or assembly ‘System.IO.Compression, Version=126.96.36.199, Culture=neutral, PublicKeyToken=b77a5c561934e089’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
i have already checked all the available topics on this but unfortunately i couldnt find the solution.
I already tried to take single xaml (which attached) into separate machine and tested but it did not worked. But I didn’t cleared the cache.
I will try and let you know.
I wonder why why my DLL are updated when my UiPath upgraded.(just suspect)
What is the location UiPath studio refer for this DLLS?
I think you should try emptying the folder: %userprofile%\.nuget\packages\
It helped some users in similar situations, I believe. It would still be nice to get to the bottom of the issue. It seems that sometimes when you upgrade from earlier versions to 2018.3 or higher, the packages from that folder become corrupted (or not properly recognized).
Please give this solution a go (but keep a backup of the content of that folder). It might just work.
recently i updated my studio with latest version(2018.4.3) and its working fine.
I just want to check what is the issue. earlier when i script its working fine and after upgrade its failed and with new version its working again.
Hi i had the same issue and just found out that adding these two lines:
in your xaml file fixed the issue. Seems that these assembly references were not added automatically in older UiPath version and but added now when you import System.IO.Compression namespace