Unexpected symbol `end-of-file'Solved
(19:27:21) | Unable to load TrollTax. TrollTax.cs(360,105): error CS1525: Unexpected symbol `end-of-file', expecting `)', `,', `[', `]', or `='


The issue is actually line 375 
panel);​

Closed the () on the line above then 378 had an error:

);

Just got rid of these^

Then line 392 had an error: but the issue was actually a few lines below which was another

panel);

again I closed the brackets for that.

Which brought me to 402 having a compile error but it was actually on line 425

 };

removed the ; 

Which brought me to 458 (it claims) but I don't see the issue. This is as far as I got it now claims:

(19:41:22) | Error while compiling: TrollTax.cs(458,53): error CS1525: Unexpected symbol `Coords'






Those lines do not actually have errors and are formatted properly; you're creating more errors by changing them. Every plugin on our site is built with the server files it is intended for, so if it shows publicly, it compiles.



If the error you posted in the first line is what you originally saw, then that means that the encoding is wrong in the plugin or may have been modified by the tool used to upload the file to your server (FTP clients can cause this depending on their upload method).
How would FileZilla modify my file simply by uploading it to the server? - I don't understand how that would happen.
hm it's working now with a new download/upload. Not sure what caused this.
In response to Oddyseous ():
How would FileZilla modify my file simply by uploading it to the server? - I don't understand how th...
Every FTP has different upload modes, and with plugins, you'd generally want to make sure it uploads it as a binary so that it doesn't change the encoding.
In response to Wulf ():
Every FTP has different upload modes, and with plugins, you'd generally want to make sure it uploads...
Set it to Binary instead of Auto, I guess if it uploaded as ASCII it could mess up the file. Thanks Wulf i appreciate it.
Wow, I never would have though of this. Thanks Wulf!
Locked automatically