生成错误mono 3.4.0 centos
从下载中获取源代码 制作和制作安装(&M)生成错误mono 3.4.0 centos,mono,centos,Mono,Centos,从下载中获取源代码 制作和制作安装(&M) 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: ca
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
mono 3.4存档缺少名为Microsoft.Portable.Common.targets的文件,该文件应位于路径
mcs/tools/xbuild/targets/Microsoft.Portable.Common.targets
,包含以下内容:
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\Microsoft.Portable.Core.props" />
<Import Project="..\Microsoft.Portable.Core.targets" />
</Project>
请参见此错误:
只是一个小纸条(我自己也一样),我在指定的路径上犯了一个错误,我发现有点困惑。如果您安装在/usr/local/src/mono-3.4/中,则需要将内容放入的文件路径为:
/usr/local/src/mono-3.4/mcs/tools/xbuild/targets/Microsoft.Portable.Common.targets
不是
/usr/local/src/mono-3.4/mcs/tools/xbuild/targets/.content/Microsoft.Portable.Common.targets
或
/usr/local/src/mono-3.4/mcs/tools/xbuild/targets/.content感谢您为我节省时间,亲自解决这个问题