- Created Monday, March 3rd 2014 @ 15:38:51
I'm writing a bot in C#. I use methods like
string.Join()where in .NET 4 some overloaded extension methods have been added.
Given the various compiler errors I get after uploading code using those methods, I see you're compiling against Mono 2.0 (/usr/lib/mono/2.0/mscorlib.dll), which is a bit old.
What framework versions do you support, and if < 4, can it be upgraded to at least 4?
DeveloperUpdated Friday, March 7th 2014 @ 10:17:09
We have Mono 220.127.116.11 installed on our server and we compile with mcs. If I'm correct, this should support .NET 4
- Created Tuesday, March 11th 2014 @ 01:02:28
I think you need to switch from mcs to dmcs. You can see which version it's executing with "cat $(which mcs)" vs "cat $(which dmcs)"
DeveloperCreated Tuesday, March 11th 2014 @ 09:28:04
Ok, thanks Fizzer.. I switched it to dmcs, but I haven't tested it as we have no C# bot here at the moment. CodeCaster, if you still have problems please tell me.
- Created Thursday, March 20th 2014 @ 03:39:48
I'm going to be working on a C# bot as well. I just dropped the starter bot into the build queue (after some minor updates) to see what happens
- Created Thursday, March 20th 2014 @ 09:28:39
I haven't felt the urge to roll back to .NET 4 so as far as I'm concerned, .NET 3.5 is good enough. I'll see what I can try when uploading future versions. :)
- Created Saturday, March 22nd 2014 @ 18:07:06
It seems that I'm getting timeouts with the starter bot. My game log pretty much looks like I started putting armies on my territories and that was pretty much it. Then after a few turns, it stopped doing that as well.
On to the debugger!
- Created Sunday, March 23rd 2014 @ 04:07:08
Success! I actually have it set to Target framework 4.5 and it is working really nicely!