Unable to find main plugin class: DontTargetMeNot An Issue

After the recent update...

(21:12:53) | DontTargetMe was compiled successfully in 2221ms

(21:12:53) | Unable to find main plugin class: DontTargetMe

(21:12:53) | No previous version to rollback plugin: DontTargetMe

Tried to debug, but the class name is correct in the file and it's been reupped like 5 times so it's not a corrupted file I don't think.

Other reasons why this would happen?

That would happen when the file isn't readable or doesn't actually contain plugin code.

Hmm. Interesting.

This is what downloads from my server:

Is the above code correct? To me the code looks fine. I'm just getting back into C# after 20 years. Forgive me for my shortcoming.

I have once had a plugin get corrupted on upload, but it was a fluke. I can't imagine that it happened 5 times consecutive last night. Maybe. Unlikely though.

Thank you for response. Trying again now. Will report back.

Merged post

Wow, it appears that for some reason the server was having trouble compiling correct code. I o.reload many many times and finally it is not giving the class error.

Is this a Linux server? Sometimes when uploading via certain programs, it creates a temporary file first, which Oxide may try to load. Best to use a client that doesn't do that, else reload after uploading.

Locked automatically