任何人都可以在导入System.Data时出现以下错误:
/home/baloo/HellooCSharp/HellooCSharp/HellooCSharp.cs(14,14): Error CS0234: The type or namespace name `Data' does not exist in the namespace `System'. Are you missing `System.Data' assembly reference? (CS0234) (HellooCSharp)
构建命令:
Building: HellooCSharp (Debug|x86)
Performing main compilation...
/usr/bin/mcs /noconfig "/r:/usr/lib/mono/4.5/mscorlib.dll" -nostdlib "/out:/home/baloo/HellooCSharp/HellooCSharp/bin/Debug/HellooCSharp.exe" "/r:/usr/lib/mono/4.5/System.dll" "/r:/usr/lib/mono/4.5/System.Core.dll" /nologo /warn:4 /debug:full /optimize- /codepage:utf8 /platform:x86 "/define:DEBUG" /t:exe "/home/baloo/HellooCSharp/HellooCSharp/Properties/AssemblyInfo.cs" "/home/baloo/HellooCSharp/HellooCSharp/HellooCSharp.cs"
Compilation failed: 2 error(s), 0 warnings
可以在/usr/lib/mono/4.5中找到程序集,该程序集已在构建程序集文件夹首选项对话框中正确配置。 [编辑:mcs编译测试代码,并添加到命令行。]
Fedora 23,单核和-data rpm版本4.0.5。 [编辑:MonoDevelop版本5.9.7(版本9)]