Error while installing custom activity pack

Hi All,

So I released new package and I cannot install it, I got this error:

Cannot load assembly: C:\Users\Mikolaj.Zielinski.nuget\packages\system.text.json/5.0.0\lib/net461/System.Text.Json.dll : System.TypeLoadException: Method ‘DisposeAsync’ in type ‘System.Text.Json.Utf8JsonWriter’ from assembly ‘System.Text.Json, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ does not have an implementation.
at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at UiPath.Studio.Plugin.Workflow.Services.AssemblyContainer.AddAssemblyInternal(Assembly assembly, String path)
at UiPath.Studio.Plugin.Workflow.Services.AssemblyContainer.<>c__DisplayClass9_0.b__0(Tuple`2 range)

Cannot load assembly: C:\Users\Mikolaj.Zielinski.nuget\packages\microsoft.aspnetcore.connections.abstractions/3.1.6\lib/netstandard2.0/Microsoft.AspNetCore.Connections.Abstractions.dll : System.TypeLoadException: Method ‘DisposeAsync’ in type ‘Microsoft.AspNetCore.Connections.DefaultConnectionContext’ from assembly ‘Microsoft.AspNetCore.Connections.Abstractions, Version=3.1.6.0, Culture=neutral, PublicKeyToken=adb9793829ddae60’ does not have an implementation.
at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at UiPath.Studio.Plugin.Workflow.Services.AssemblyContainer.AddAssemblyInternal(Assembly assembly, String path)
at UiPath.Studio.Plugin.Workflow.Services.AssemblyContainer.<>c__DisplayClass9_0.b__0(Tuple`2 range)

Cannot load assembly: C:\Users\Mikolaj.Zielinski.nuget\packages\microsoft.aspnetcore.http.connections.client/3.1.6\lib/netstandard2.0/Microsoft.AspNetCore.Http.Connections.Client.dll : System.TypeLoadException: Method ‘DisposeAsync’ in type ‘Microsoft.AspNetCore.Http.Connections.Client.HttpConnection’ from assembly ‘Microsoft.AspNetCore.Http.Connections.Client, Version=3.1.6.0, Culture=neutral, PublicKeyToken=adb9793829ddae60’ does not have an implementation.
at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at UiPath.Studio.Plugin.Workflow.Services.AssemblyContainer.AddAssemblyInternal(Assembly assembly, String path)
at UiPath.Studio.Plugin.Workflow.Services.AssemblyContainer.<>c__DisplayClass9_0.b__0(Tuple`2 range)

Cannot load assembly: C:\Users\Mikolaj.Zielinski.nuget\packages\system.text.json/5.0.0\lib/net461/System.Text.Json.dll : System.TypeLoadException: Method ‘DisposeAsync’ in type ‘System.Text.Json.Utf8JsonWriter’ from assembly ‘System.Text.Json, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ does not have an implementation.
at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at UiPath.Studio.Plugin.Workflow.Services.AssemblyContainer.AddAssemblyInternal(Assembly assembly, String path)
at UiPath.Studio.Plugin.Workflow.Services.AssemblyContainer.<>c__DisplayClass9_0.b__0(Tuple`2 range)

Cannot load assembly: C:\Users\Mikolaj.Zielinski.nuget\packages\microsoft.aspnetcore.connections.abstractions/3.1.6\lib/netstandard2.0/Microsoft.AspNetCore.Connections.Abstractions.dll : System.TypeLoadException: Method ‘DisposeAsync’ in type ‘Microsoft.AspNetCore.Connections.DefaultConnectionContext’ from assembly ‘Microsoft.AspNetCore.Connections.Abstractions, Version=3.1.6.0, Culture=neutral, PublicKeyToken=adb9793829ddae60’ does not have an implementation.
at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at UiPath.Studio.Plugin.Workflow.Services.AssemblyContainer.AddAssemblyInternal(Assembly assembly, String path)
at UiPath.Studio.Plugin.Workflow.Services.AssemblyContainer.<>c__DisplayClass9_0.b__0(Tuple`2 range)

Cannot load assembly: C:\Users\Mikolaj.Zielinski.nuget\packages\microsoft.aspnetcore.http.connections.client/3.1.6\lib/netstandard2.0/Microsoft.AspNetCore.Http.Connections.Client.dll : System.TypeLoadException: Method ‘DisposeAsync’ in type ‘Microsoft.AspNetCore.Http.Connections.Client.HttpConnection’ from assembly ‘Microsoft.AspNetCore.Http.Connections.Client, Version=3.1.6.0, Culture=neutral, PublicKeyToken=adb9793829ddae60’ does not have an implementation.
at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at UiPath.Studio.Plugin.Workflow.Services.AssemblyContainer.AddAssemblyInternal(Assembly assembly, String path)
at UiPath.Studio.Plugin.Workflow.Services.AssemblyContainer.<>c__DisplayClass9_0.b__0(Tuple`2 range)

Cannot load assembly: C:\Users\Mikolaj.Zielinski.nuget\packages\system.text.json/5.0.0\lib/net461/System.Text.Json.dll : System.TypeLoadException: Method ‘DisposeAsync’ in type ‘System.Text.Json.Utf8JsonWriter’ from assembly ‘System.Text.Json, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ does not have an implementation.
at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at UiPath.Studio.Plugin.Workflow.Services.AssemblyContainer.AddAssemblyInternal(Assembly assembly, String path)
at UiPath.Studio.Plugin.Workflow.Services.AssemblyContainer.<>c__DisplayClass9_0.b__0(Tuple`2 range)

How can I fix it?

FIX

It was looking for one package on my orchestrator which did not exist on it - I added it back to it and now its working

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.