akorb / SteamShutdown

Automatic shutdown after Steam download(s) has finished.
MIT License
362 stars 28 forks source link

Crash when launch app #43

Closed Sun020422 closed 3 years ago

Sun020422 commented 3 years ago

2021/8/3 22:58:08: System.TypeInitializationException: “SteamShutdown.Steam”的类型初始值设定项引发异常。 ---> Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: 无法对 null 引用执行运行时绑定 在 CallSite.Target(Closure , CallSite , Object ) 在 System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0) 在 SteamShutdown.Steam.GetLibraryPaths(String installationPath) 在 SteamShutdown.Steam..cctor() --- 内部异常堆栈跟踪的结尾 --- 在 SteamShutdown.Steam.add_AppInfoChanged(AppInfoChangedEventHandler value) 在 SteamShutdown.CustomApplicationContext..ctor() 在 SteamShutdown.SteamShutdown.Main() 2021/8/3 22:58:40: System.TypeInitializationException: “SteamShutdown.Steam”的类型初始值设定项引发异常。 ---> Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: 无法对 null 引用执行运行时绑定 在 CallSite.Target(Closure , CallSite , Object ) 在 System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0) 在 SteamShutdown.Steam.GetLibraryPaths(String installationPath) 在 SteamShutdown.Steam..cctor() --- 内部异常堆栈跟踪的结尾 --- 在 SteamShutdown.Steam.add_AppInfoChanged(AppInfoChangedEventHandler value) 在 SteamShutdown.CustomApplicationContext..ctor() 在 SteamShutdown.SteamShutdown.Main() 2021/8/3 22:59:44: System.TypeInitializationException: “SteamShutdown.Steam”的类型初始值设定项引发异常。 ---> Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: 无法对 null 引用执行运行时绑定 在 CallSite.Target(Closure , CallSite , Object ) 在 System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0) 在 SteamShutdown.Steam.GetLibraryPaths(String installationPath) 在 SteamShutdown.Steam..cctor() --- 内部异常堆栈跟踪的结尾 --- 在 SteamShutdown.Steam.add_AppInfoChanged(AppInfoChangedEventHandler value) 在 SteamShutdown.CustomApplicationContext..ctor() 在 SteamShutdown.SteamShutdown.Main()

akorb commented 3 years ago

Duplicate of https://github.com/akorb/SteamShutdown/issues/42

Can you please check the version of this post and comment on it? https://github.com/akorb/SteamShutdown/issues/42#issuecomment-891318349