Replies: 8 comments
-
Which version of mono are you using? Cake requires Mono 4.4.2 or later. |
Beta Was this translation helpful? Give feedback.
-
Running on Mono 4.4.3 |
Beta Was this translation helpful? Give feedback.
-
Where did you get this version from? According to packages.ubuntu.org the mono-complete package is version 4.2.1. Any chance you can try something newer than a more than a year old version of mono? |
Beta Was this translation helpful? Give feedback.
-
Xamarin provides packages newer than what the distributions officially provide. I would assume 4.4.3 should work as it's newer than 4.4.2 which is what we build Cake with on Linux. Wonder if this is a WSL issue, you could try a newer version of mono, which you can download here: |
Beta Was this translation helpful? Give feedback.
-
I've seen this Array.Empty thing before when developing for Xamarin.Android and Xamarin.iOS. This is because .NET 4.5 does not contain |
Beta Was this translation helpful? Give feedback.
-
Downloading the latest version of mono (5.4.1.6) seems to have solved the problem. |
Beta Was this translation helpful? Give feedback.
-
@monis256 so am I right to assume this isn't an issue with Cake but mono? |
Beta Was this translation helpful? Give feedback.
-
@devlead yes this issue was with old version of Mono. I guess Cake needed the latest |
Beta Was this translation helpful? Give feedback.
-
What You Are Seeing?
C# build error on the 0.23.0 version of cake nuget package
What is Expected?
The build.sh & build.cake script should run without error
What version of Cake are you using?
0.23.0
Are you running on a 32 or 64 bit system?
64 bit. A WSL on Windows 10
What environment are you running on? Windows? Linux? Mac?
Linux -->
Distributor ID: Ubuntu Description: Ubuntu 16.04.2 LTS Release: 16.04 Codename: xenial
Are you running on a CI Server? If so, which one?
No
How Did You Get This To Happen? (Steps to Reproduce)
curl -Lsfo build.sh https://cakebuild.net/download/bootstrapper/linux
and give execution permissions to build.shOutput Log
Beta Was this translation helpful? Give feedback.
All reactions