no longer works after the last oxide update
An object reference is required to access non-static member `FileSystemBackend.cache'Fixed
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
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).
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 ?
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.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 ?
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 π€·ββοΈ
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.
MajinDarkDragonnamespace 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
- 1
- 2