Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SOLVED] Crash - Can't load file or assembly

Featured Replies

Hello.

I'm creating a small callout plugin to learn C# and I've a problem related to `System.Runtime`.

So, the plugin loads correctly and the crash occur when it comes to go on duty.

There is the log of the crash. I translated the Exception message from French to English.

[11/23/2019 5:55:36 PM.907] Unhandled exception occurred in console command "ForceDuty"
[11/23/2019 5:55:36 PM.907] Exception type: System.IO.FileNotFoundException
[11/23/2019 5:55:36 PM.907] Exception message: Can't load file or assembly 'System.Runtime, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The specified file is not found.
[11/23/2019 5:55:36 PM.907] Stack trace: at HighDangerEscort.Main.RegisterCallouts()
[11/23/2019 5:55:36 PM.907]    at HighDangerEscort.Main.OnOnDutyStateChangedHandler(Boolean OnDuty)
[11/23/2019 5:55:36 PM.907]    at LSPD_First_Response.Mod.API.Functions.OnDutyStateChangedEventHandler.Invoke(Boolean onDuty)

I'm using Rider and not VS. I installed System.Runtime 4.3.1 from `NuGet` (which I think is a package manager for C#).

Any help is appreciate!

  • The title was changed to [SOLVED] Crash - Can't load file or assembly

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.