SharpDevelop setup for modding

Started by Anbalsilfer, July 25, 2016, 12:21:20 PM

Previous topic - Next topic

Anbalsilfer

I tried to set up SharpDevelop for RimWorld modding in order to compile Colony Manager (https://github.com/FluffierThanThou/RW_Manager), in accordance with the instructions at http://rimworldwiki.com/wiki/Modding_Tutorials/Setting_up_a_solution.

After an error message when trying to open the .sln file about missing build tools I installed msbuild 2015, which caused the error to go away, but now SharpDevelop chokes on the numerous lambda expressions in the source code, leading me to believe it is trying to compile with an outdated version. To be specific, I get CS1519 (invalid token) errors whenever the => operator appears in the source code. I've tried and failed to find help online, so now turning to the forums. Has anyone had better luck setting up SharpDevelop to compile any project that uses lambda expressions?

1000101

Are you sure you want MSBuild 2015?  Xamarin Studio, for example, explicitly states it needs 2013.  Trying to use 2015 will just cause it to fail completely.

Further, SharpDevelop may simply not support lambda expressions and the source may need to be modified to remove them and turn them into their non-lambda equivalent.
(2*b)||!(2*b) - That is the question.
There are 10 kinds of people in this world - those that understand binary and those that don't.

Powered By