Pudge 24 Posted November 25, 2022 Share Posted November 25, 2022 Hello, i constantly see the error message in relogger as [E] 06:15:15 - Cannot compile plugin 'P:\WRobot\\Plugins\Relogger\pluginname.cs on start program. But this plugin works fine and in IDE i dont see any errors. What could be wrong? Where i can see the reason of this? Link to comment https://wrobot.eu/forums/topic/14949-relogger-plugin-exeption/ Share on other sites More sharing options...
Droidz 2738 Posted November 25, 2022 Share Posted November 25, 2022 Hi, you should have error reason : if (file?.Length > 0) { Assembly? a = null; if (file.Length > 3 && file[0] == 0x4D && file[1] == 0x5A && file[2] == 0x90) a = Assembly.Load(file); else // cs file? { var c = RunCode.Compile(RunCode.CodeType.CSharp, Encoding.UTF8.GetString(file)); if (c?.Errors?.Count > 0) Logging.WriteError($"Cannot compile plugin '{pathOrUrl}': {RunCode.ErrorsToString(c)}"); if (c?.CompiledAssembly != null) a = c.CompiledAssembly; ...... Link to comment https://wrobot.eu/forums/topic/14949-relogger-plugin-exeption/#findComment-67304 Share on other sites More sharing options...
Pudge 24 Posted November 26, 2022 Author Share Posted November 26, 2022 27 ноя 2022 00H02 - RryXw.log.html Link to comment https://wrobot.eu/forums/topic/14949-relogger-plugin-exeption/#findComment-67316 Share on other sites More sharing options...
Droidz 2738 Posted November 27, 2022 Share Posted November 27, 2022 I can't reproduce the problem. You can ignore this error which must not be important (if you want me to try to remove this false alert, send me your plugin). Link to comment https://wrobot.eu/forums/topic/14949-relogger-plugin-exeption/#findComment-67317 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