Plugin Fails to Compile in CarbonSolved

Failed compiling '.../serverfiles/carbon/plugins/MonumentAddons.cs':

1. 'DataFileSystem' does not contain a definition for 'DeleteDataFile' and no accessible extension method 'DeleteDataFile' accepting a first argument of type 'DataFileSystem' could be found (are you missing a using directive or an assembly reference?) [CS1061] (MonumentAddons 48 line 11226)

The DataFileSystem.DeleteDataFile function was introduced in Oxide in the March force wipe (3 months ago). The latest version of the plugin utilizes that function to delete and rename profile data files when a user runs the maprofile deleteΒ or maprofile rename commands. I also plan to utilize this function in other plugins such as Backpacks. Carbon will need to add a similar function with the same name to be compatible with Oxide.

For now, you can either revert to the previous version of the plugin (v0.13.1, which will still work after the June force wipe) if you don't need any of the latest feature updates (mostly related to spawn groups and puzzles), or you can just delete any line of code that calls that function; you'll just have to manually delete profile data files if you are doing any delete/rename function via the plugin.

Thanks for the response. πŸ‘

Merged post

I reverted to 0.13.1 and it works fine.

The Carbon folks report that they've fixed it and it will roll into their production release with the June wipe.

Thanks again,
David

Β 

Β 

Locked automatically