Error while compiling: PrefabSniffer.cs(44,40): error CS0176: Static member `FileSystemBackend.cache' cannot be accessed with an instance reference, qualify it with a type name instead
Oxide.Rust Version: 2.0.5589
Error while compiling: PrefabSniffer.cs(44,40): error CS0176: Static member `FileSystemBackend.cache' cannot be accessed with an instance reference, qualify it with a type name instead
Oxide.Rust Version: 2.0.5589
You are using a previous version of the plugin.
or not [Info("Prefab Sniffer", "Wulf", "2.0.2")]
That code physically isn't in 2.0.2.
2.0.1 =
FileSystemBackend.cache2.0.2 =
FileSystem.Backend.cache can't make better sorry...
always same for download and only this plugin cause a problem...
right if open the file, you're right but when uploading after deleted the old .cs file, it return the same problem for me...
same issue.
Checked current file, it has FileSystem.Backend.cache (and only once.. no other instances/variations)
deleted copy from lang folder - no change
our server reboots at 12.. if that fixes it, i'll report back.
seems like something is hanging onto it, but I have no idea what.
(07:34:49) | Error while compiling: PrefabSniffer.cs(44,40): error CS0176: Static member `FileSystemBackend.cache' cannot be accessed with an instance reference, qualify it with a type name instead
line 44 (or 40, I forget which comes first: row or column) isn't even the right line. unless the compiler is stripping comments before counting, but that would still be off by one, and I'm pretty sure it doesn't do that (well, Visual Studio doesn't anyhow, or we'd go nuts at work).
reverting to 2.0.0 for now (which was working fine)
afterthought.. running Oxide.Rust Version: 2.0.5581 - maybe this is for a change in 5589?
edit: apparently not, based on OP
The latest version of the plugin works in old and new Oxide versions. The change was just to use the proper method of accessing the code in question.mughi
same issue.
Checked current file, it has FileSystem.Backend.cache (and only once.. no other instances/variations)
deleted copy from lang folder - no change
our server reboots at 12.. if that fixes it, i'll report back.
seems like something is hanging onto it, but I have no idea what.(07:34:49) | Error while compiling: PrefabSniffer.cs(44,40): error CS0176: Static member `FileSystemBackend.cache' cannot be accessed with an instance reference, qualify it with a type name instead
line 44 (or 40, I forget which comes first: row or column) isn't even the right line. unless the compiler is stripping comments before counting, but that would still be off by one, and I'm pretty sure it doesn't do that (well, Visual Studio doesn't anyhow, or we'd go nuts at work).
reverting to 2.0.0 for now (which was working fine)
afterthought.. running Oxide.Rust Version: 2.0.5581 - maybe this is for a change in 5589?
edit: apparently not, based on OP
restarting the server after replacing the plugin seems to have worked.. although simply dropping the updated plugin into the plugin dir while the server was running caused it to hang and have to be restarted. We have that on occasion w/ various plugins, so not related to this.