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

no longer works after the last oxide update

Could you provide any details?

is no longer loaded. on all my servers after the last oxide update.
Info in RustAdmin : Error Failed to compile: Build.cs(340,51):error CS0120: An object reference is required to access non-static member `FileSystemBackend.cacheΒ 

same issue

Error while compiling: Build.cs(340,51): error CS0120: An object reference is required to access non-static member `FileSystemBackend.cache'

Last update^Β 

Error while compiling: Build.cs(340,51): error CS0120: An object reference is required to access non-static member `FileSystemBackend.cache'

The latest version is fixed, thanks.

Hey guys i have the same problem in version 2.2.2

Β 

(01:48:16) | Error while compiling: Build.cs(341,52): error CS0176: Static member `FileSystemBackend.cache' cannot be accessed with an instance reference, qualify it with a type name instead

fMI0KoAooEBfEWz.png Luuxen

Hey guys i have the same problem in version 2.2.2

Β 

(01:48:16) | Error while compiling: Build.cs(341,52): error CS0176: Static member `FileSystemBackend.cache' cannot be accessed with an instance reference, qualify it with a type name instead

2.2.2 does not have that line of code, so it's not possible that you are using 2.2.2.

FileSystemBackend.cache (not in 2.2.2, not in 2.2.1, not correct) vs. FileSystem.Backend.cache (correct).

9I7mU6853OOLqfk.png Wulf

2.2.2 does not have that line of code, so it's not possible that you are using 2.2.2.

Lol, i've gone through the other versions. That line wasn't even there (with the dot) on 2.0.9 but *

FileSystemBackend.cache.Keys* is. might have something to do with it ?
bHuAM96P7lbhpCG.jpg Abdew

Lol, i've gone through the other versions. That line wasn't even there (with the dot) on 2.0.9 but *

FileSystemBackend.cache.Keys* is. might have something to do with it ?
FileSystemBackend.Backend.cache.Keys was only in 2.2.1, FileSystem.Backend.cache.Keys is the fixed line in 2.2.2. FileSystemBackend.cache.Keys was in 2.2.0.
YN3ScTbNzMP2CiR.png Wulf
FileSystemBackend.Backend.cache.Keys was only in 2.2.1, FileSystem.Backend.cache.Keys is the fixed line in 2.2.2. FileSystemBackend.cache.Keys was in 2.2.0.

Then enlight me, because it is 2.2.2 currently upload on server and it's throwing that error πŸ€·β€β™‚οΈ

bHuAM96P7lbhpCG.jpg Abdew

Then enlight me, because it is 2.2.2 currently upload on server and it's throwing that error πŸ€·β€β™‚οΈ

This:

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

Would only show if you are using 2.2.0. If you see that, you are using 2.2.0 somehow, not 2.2.1 or 2.2.2. I can't really say how you are doing that, as downloading the file from our site results in 2.2.2 for all the download links.

namespace Oxide.Plugins
{
[Info("Build", "Gonzi", "2.2.2")]
[Description("Build, spawn, plant, upgrade, deploy anything the way that you want it")]
public class Build : RustPlugin
{
#region UI
public class UI
{

Β 

and when i use o.reload Build, i get

Error while compiling: Build.cs(341,52): error CS0176: Static member `FileSystemBackend.cache' cannot be accessed with an instance reference, qualify it with a type name instead

Β 

you are correct, the 2.2.2 version has the extra period, but it doesn't change the fact that this is the error we are seeing.

MajinDarkDragon

namespace Oxide.Plugins
{
[Info("Build", "Gonzi", "2.2.2")]
[Description("Build, spawn, plant, upgrade, deploy anything the way that you want it")]
public class Build : RustPlugin
{
#region UI
public class UI
{

Β 

and when i use o.reload Build, i get

Error while compiling: Build.cs(341,52): error CS0176: Static member `FileSystemBackend.cache' cannot be accessed with an instance reference, qualify it with a type name instead

Β 

you are correct, the 2.2.2 version has the extra period, but it doesn't change the fact that this is the error we are seeing.

I can't really fix something that's already fixed, but you can manually fix whatever file you have locally given the information I've provided.

If i could physically put your head on my server and show you that there's only 1 file freshly uploaded, downloaded directly from here showing 2.2.2 when i open it up, i would !:D

Locked automatically