Mykoplazma 24 Posted February 9, 2017 Share Posted February 9, 2017 I get help from that forum with answer which is using a part of c# version 6 - that $ thing used before string instead of using string.format thing like in this example $"print(\"{wowPlayer.Name} around paused.\")". That thing requires c# 6 I have only c# 5 ( windows 7 ) i found how to get compilator for version c# 6 and I have now csc.exe (compilator ) file in separte directory. How to make the bot compile the plugin or rotation using that csc file or where to replace files to get it compiled with c# 6 special new functions? Link to comment https://wrobot.eu/forums/topic/5055-c-compiler-version/ Share on other sites More sharing options...
Pasterke 98 Posted February 9, 2017 Share Posted February 9, 2017 the 6 comes with dotnet 4.6.1. You can't use the 6 syntax in wrobot. I tried with no luck. (you don't compile the code, wrobot is compiling it.) Link to comment https://wrobot.eu/forums/topic/5055-c-compiler-version/#findComment-23449 Share on other sites More sharing options...
supersurfer 23 Posted February 9, 2017 Share Posted February 9, 2017 if i am not mistaken, $"foo" compiles into string.format Link to comment https://wrobot.eu/forums/topic/5055-c-compiler-version/#findComment-23450 Share on other sites More sharing options...
Mykoplazma 24 Posted February 9, 2017 Author Share Posted February 9, 2017 Ok so we need stick to 5.0. Link to comment https://wrobot.eu/forums/topic/5055-c-compiler-version/#findComment-23453 Share on other sites More sharing options...
iMod 99 Posted February 9, 2017 Share Posted February 9, 2017 i'm using 4.5.2 and i also use the short strin.format or elvis and it works fine for me. You can place the cs into the FigthClass folder like the xml or ddl's Link to comment https://wrobot.eu/forums/topic/5055-c-compiler-version/#findComment-23454 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