Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

build error mono 3.4.0 centos

Tags:

mono

centos

get source from downloads

make && make install

mkdir -p -- /usr/lib/mono/xbuild/Microsoft/Portable/v4.0
/usr/bin/install -c -c -m 644 targets/Microsoft.Portable.Common.targets /usr/lib/mono/xbuild/Microsoft/Portable/v4.0/Microsoft.Portable.Common.targets
/usr/bin/install: cannot stat `targets/Microsoft.Portable.Common.targets': No such file or directory
like image 526
pm100 Avatar asked Apr 03 '14 17:04

pm100


1 Answers

the mono 3.4 archive is missing a file named Microsoft.Portable.Common.targets which should be located at path mcs/tools/xbuild/targets/Microsoft.Portable.Common.targets with the following content:

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    <Import Project="..\Microsoft.Portable.Core.props" />
    <Import Project="..\Microsoft.Portable.Core.targets" />
</Project>

See this bug: https://bugzilla.xamarin.com/show_bug.cgi?id=18690

like image 131
user3500861 Avatar answered Nov 18 '22 20:11

user3500861