ASFFreeGames icon indicating copy to clipboard operation
ASFFreeGames copied to clipboard

Bug when running ASF .NET 9.0 upgrade

Open EsdrubalMagano opened this issue 2 years ago • 2 comments

Hey there!

Here is a bug that occurs when running ASF with the ASFFreeGames plugin. Probably related to the ASF upgrade to .NET 9.0. Work's fine without the ASFFreeGames plugin

2024-12-01 22:41:28|ArchiSteamFarm-5979|INFO|ASF|InitCore() ArchiSteamFarm V6.1.0.1 (linux-arm64/1389e4e4c2304043b8fa73924b8db4e4 | .NET 9.0.0; linux-arm64; Ubuntu 22.04.5 LTS) in [/home/ubuntu/ASF] 2024-12-01 22:41:28|ArchiSteamFarm-5979|INFO|ASF|InitCore() Copyright © 2015-2024 JustArchiNET 2024-12-01 22:41:28|ArchiSteamFarm-5979|INFO|ASF|InitPlugins() Initializing Plugins... 2024-12-01 22:41:29|ArchiSteamFarm-5979|ERROR|ASF|InitPlugins() Failed due to error: System.Threading.AsyncLocal1 2024-12-01 22:41:29|ArchiSteamFarm-5979|ERROR|ASF|InitPlugins() System.TypeLoadException: Could not load type 'System.Threading.AsyncLocal1' from assembly 'System.Threading, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. at Maxisoft.ASF.ASFFreeGamesPlugin..ctor() at lambda_method1(Closure, LifetimeContext, CompositionOperation) at System.Composition.Hosting.Providers.ImportMany.ImportManyExportDescriptorProvider.<>c__DisplayClass3_21.<GetImportManyDescriptor>b__4(ExportDescriptor e) at System.Linq.Enumerable.ArraySelectIterator2.Fill(ReadOnlySpan1, Span1, Func2) at System.Linq.Enumerable.ArraySelectIterator2.ToArray() at System.Linq.Enumerable.ToArrayTSource at System.Composition.Hosting.Providers.ImportMany.ImportManyExportDescriptorProvider.<>c__DisplayClass3_1`1.b__3(LifetimeContext c, CompositionOperation o) at System.Composition.Hosting.Core.CompositionOperation.Run(LifetimeContext outermostLifetimeContext, CompositeActivator compositionRootActivator) at System.Composition.Hosting.Core.LifetimeContext.TryGetExport(CompositionContract contract, Object& export) at System.Composition.Hosting.CompositionHost.TryGetExport(CompositionContract contract, Object& export) at System.Composition.CompositionContext.GetExport(CompositionContract) at System.Composition.CompositionContext.GetExports(Type, String) at System.Composition.CompositionContext.GetExportsTExport at System.Composition.CompositionContext.GetExportsTExport at ArchiSteamFarm.Plugins.PluginsCore.InitPlugins() 2024-12-01 22:41:39|ArchiSteamFarm-5979|ERROR|ASF|Exit() Exiting with 1 error code!

  • OS: Ubuntu 22.04
  • ASF: 6.1.0.1
  • Plugin: v1.8.0

EsdrubalMagano avatar Dec 01 '24 22:12 EsdrubalMagano

Same here

JerryWn12 avatar Dec 02 '24 10:12 JerryWn12

Hi everyone,

Thanks for reporting the bug. I've identified the issues and pushed a fix.

A new release is available !

Thanks again for your patience and understanding.

maxisoft avatar Dec 04 '24 09:12 maxisoft