An object reference is required to access non-static member `FileSystemBackend.cache'Fixed

(15:19:33) | Error while compiling: CustomLootSpawns.cs(357,78): error CS0120: An object reference is required to access non-static member `FileSystemBackend.cache'

ditto, after the latest server/oxide update this morning, getting:
Error while compiling: CustomLootSpawns.cs(357,78): error CS0120: An object reference is required to access non-static member `FileSystemBackend.cache'

eT1l29n7J71fZWW.jpg quietconundrum

ditto, after the latest server/oxide update this morning, getting:
Error while compiling: CustomLootSpawns.cs(357,78): error CS0120: An object reference is required to access non-static member `FileSystemBackend.cache'

As a quick fix: search for FileSystemBackend.cache and change it to FileSystem.Backend.cache
riderxyz
As a quick fix: search for FileSystemBackend.cache and change it to FileSystem.Backend.cache
👍 worked like a charm. Appreciate that!

This is fixed in the latest version, thanks for the report!

same problem, I update the server and same.

can confirm, 0.2.14 still produces an error, just a new one:
Error while compiling: CustomLootSpawns.cs(357,78): error CS0117: `FileSystemBackend' does not contain a definition for `Backend'

FileSystemBackend.Backend.cache should be FileSystem.Backend.cache
eT1l29n7J71fZWW.jpg quietconundrum

can confirm, 0.2.14 still produces an error, just a new one:
Error while compiling: CustomLootSpawns.cs(357,78): error CS0117: `FileSystemBackend' does not contain a definition for `Backend'

FileSystemBackend.Backend.cache should be FileSystem.Backend.cache

Yes, had some copy/paste issues and CI not showing correctly, but all good now. ;)

9k8kde0GaWgL2ND.png Wulf

Yes, had some copy/paste issues and CI not showing correctly, but all good now. ;)

thanks for your time and attention, Wulf 👍

Thx, and Goodnight.

Error while compiling: CustomLootSpawns.cs(357,78): error CS0117: `FileSystemBackend' does not contain a definition for `Backend'

Sedoy

Error while compiling: CustomLootSpawns.cs(357,78): error CS0117: `FileSystemBackend' does not contain a definition for `Backend'

You are using an old plugin version.

This is very much still broken on the downloaded version btw
Even when the text in the file is correct there is something very odd happening that the compile error is showing no dot.

Locked automatically