Pudge 24 Posted February 17 Share Posted February 17 [Info] Operating System Details: Windows 7 Ultimate [E] 17:51:34 - Cannot compile plugin 'Q:\WRobot\\Plugins\Relogger\plugin.cs': Compilator Error : q:\WRobot\Data\temp\4hnm1jmy.0.cs(792,43) : error CS1056: Unexpected symbol "$" ... Hello, i just tried to use symbol "$" in relogger plugin before log output string and this exeption occurs. var smth = "123"; Logging.Write($"smth = {smth}"); Is it problem of wrobot compiller? Because if i use compiled by VS dll file - error have not occurs. Link to comment Share on other sites More sharing options...
Droidz 2696 Posted February 17 Share Posted February 17 Hello, WRobot compiler doesn't accept recent C# feature like "$". Use code like var smth = "123"; Logging.Write("smth = " + smth); Pudge 1 Link to comment Share on other sites More sharing options...
Droidz 2696 Posted February 17 Share Posted February 17 or compiled plugin (dll) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now