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.

Could not load file or assembly LSPD First Response

Featured Replies

I'm working on a Rage plugin for some ambient traffic violations and I'm referencing LSPDFR so I can use "Functions.IsPlayerPerformingPullover()" but I keep getting an exception at runtime. LSPDFR loads just fine by the way otherwise. Any ideas?

 

Spoiler

[3/15/2022 4:13:08 PM.814] Dynamic Traffic Violations Plugin: 
[3/15/2022 4:13:08 PM.814] Dynamic Traffic Violations Plugin: ==============================
[3/15/2022 4:13:08 PM.814] Dynamic Traffic Violations Plugin: UNHANDLED EXCEPTION DURING GAME FIBER TICK
[3/15/2022 4:13:08 PM.814] Dynamic Traffic Violations Plugin: ------------------------------
[3/15/2022 4:13:08 PM.814] Dynamic Traffic Violations Plugin: Origin: Game fiber "Headlights Fiber".
[3/15/2022 4:13:08 PM.814] Dynamic Traffic Violations Plugin: ------------------------------
[3/15/2022 4:13:08 PM.814] Dynamic Traffic Violations Plugin: Exception type: System.IO.FileNotFoundException
[3/15/2022 4:13:08 PM.814] Dynamic Traffic Violations Plugin: Exception message: Could not load file or assembly 'LSPD First Response, Version=0.4.8037.37597, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
[3/15/2022 4:13:08 PM.814] Dynamic Traffic Violations Plugin: ------------------------------
[3/15/2022 4:13:08 PM.814] Dynamic Traffic Violations Plugin: Inner exceptions:
[3/15/2022 4:13:08 PM.814] Dynamic Traffic Violations Plugin: ------------------------------
[3/15/2022 4:13:08 PM.814] Dynamic Traffic Violations Plugin: Stack trace:
[3/15/2022 4:13:08 PM.814] Dynamic Traffic Violations Plugin: at ViolationChecker.HeadlightsFiber()
[3/15/2022 4:13:08 PM.814] at Rage.GameFiber.Main()
[3/15/2022 4:13:08 PM.814] Dynamic Traffic Violations Plugin: ==============================
[3/15/2022 4:13:08 PM.814] Dynamic Traffic Violations Plugin:

 

  • 2 weeks later...

I am having a similar issue with trying to use ped personas. Have you gotten any where on this?

I am pretty sure this is the problem, since i have the same error:

 System.IO.FileNotFoundException
 Exception message: Could not load file or assembly 'LSPD First Response, Version=0.4.8037.37597, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

 

I'm thinking I must include LSPDFR.dll somewhere in my plugin so it can access it, maybe.

 

thanks

41 minutes ago, Radsel said:

I am having a similar issue with trying to use ped personas. Have you gotten any where on this?

I am pretty sure this is the problem, since i have the same error:

 System.IO.FileNotFoundException
 Exception message: Could not load file or assembly 'LSPD First Response, Version=0.4.8037.37597, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

 

I'm thinking I must include LSPDFR.dll somewhere in my plugin so it can access it, maybe.

 

thanks

I don't know if you did it but look at your dependencies in visual studio you may be missing some but normally you should have had an error in your code before building it

by Mytical.

They are there. I did have an older one, which I updated  , that caused the same problem with a later version number.

 

Now that I think about this, is the mismatch between the current installed game version and the plugin?

Or is it between the plugin and the referenced file in VB?

 

Also can you mix and match RPH commands and LSPDFR commands in a stand alone plugin? I do it in callouts and its fine.

 

Thanks

  • Author
On 3/30/2022 at 2:11 PM, Radsel said:

I am having a similar issue with trying to use ped personas. Have you gotten any where on this?

I am pretty sure this is the problem, since i have the same error:

 System.IO.FileNotFoundException
 Exception message: Could not load file or assembly 'LSPD First Response, Version=0.4.8037.37597, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

 

I'm thinking I must include LSPDFR.dll somewhere in my plugin so it can access it, maybe.

 

thanks

I have not come across a solution for this yet. From what I have researched, this kind of an error usually occurs when there is a version mismatch but the version of LSPDFR it is not able to load is the exact version that I was referencing and the exact version that is loaded. In any case, I found a workaround for my plugin which does not need to reference LSPDFR.

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.