Forked from pjvds/install-mono-on-docker-container.sh
Last active
August 29, 2015 13:59
-
-
Save dsimunic/10966949 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get install -y wget build-essential gettext autoconf automake libtool | |
MONO_VERSION=3.4.0 | |
wget http://download.mono-project.com/sources/mono/mono-${MONO_VERSION}.tar.bz2 | |
bunzip2 -df mono-${MONO_VERSION}.tar.bz2 | |
tar -xf mono-${MONO_VERSION}.tar | |
cd mono-${MONO_VERSION} | |
cat > mcs/tools/xbuild/targets/Microsoft.Portable.Common.targets <<END | |
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<Import Project="..\Microsoft.Portable.Core.props" /> | |
<Import Project="..\Microsoft.Portable.Core.targets" /> | |
</Project> | |
END | |
./configure --prefix=/usr/local; make; make install | |
rm -rf /tmp/* | |
apt-get remove --purge wget build-essential gettext autoconf automake libtool |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When building 3.4.0 on Linux, the mono 3.4 archive miss a file "Microsoft.Portable.Common.targets" at path mcs/tools/xbuild/targets/