c# - 命名空间 `Dom' 中不存在类型或命名空间名称 `MonoDevelop.Projects'

标签 c# compiler-errors monodevelop

我正在 Ubuntu 13.10 上编译和安装 MonoDevelop。

需要手动编译很多其他依赖,网上找了一些资料解决

不幸的是,我无法解决这个问题:

The type or namespace name `Dom' does not exist in the namespace `MonoDevelop.Projects'

./configure 运行正常,但 make 给了我上面的消息,以及以下内容:

mkdir -p build/
make DEBUG_BeforeBuild
make[3]: Entering directory `/home/leon/dev/monodevelop/extras/JavaBinding'
make[3]: Leaving directory `/home/leon/dev/monodevelop/extras/JavaBinding'
PKG_CONFIG_PATH=../../local-config:$PKG_CONFIG_PATH dmcs -noconfig -codepage:utf8 -warn:4 -optimize- -debug -define:DEBUG -out:build/JavaBinding.dll -target:library './AssemblyInfo.cs' './gtk-gui/generated.cs' './gtk-gui/JavaBinding.CodeGenerationPanelWidget.cs' './gtk-gui/JavaBinding.GlobalOptionsPanelWidget.cs' './Gui/GlobalOptionsPanel.cs' './Gui/ProjectConfigurationPropertyPanel.cs' './IKVMCompilerManager.cs' './JavaCompiler.cs' './JavaLanguageBinding.cs' './Project/JavaCompilerParameters.cs'  '-resource:./gtk-gui/gui.stetic' '-resource:./icons/Java.FileIcon' '-resource:./icons/java-16.png' '-resource:./icons/java-22.png' '-resource:./icons/java-icon-32.png' '-resource:./JavaBinding.addin.xml' '-resource:./md1format.xml' '-resource:./templates/EmptyJavaFile.xft.xml' '-resource:./templates/EmptyJavaProject.xpt.xml' '-resource:./templates/IkvmConsoleApplicationProject.xpt.xml' '-resource:./templates/IkvmGladeApplicationProject.xpt.xml' '-resource:./templates/IkvmGnomeApplicationProject.xpt.xml' '-resource:./templates/IkvmGtkApplicationProject.xpt.xml' '-resource:./templates/IkvmLibraryProject.xpt.xml' '-resource:./templates/JavaApplet.xft.xml' '-resource:./templates/JavaApplication.xft.xml' '-resource:./templates/JavaApplicationProject.xpt.xml' '-resource:./templates/JavaConsoleApplicationProject.xpt.xml' '-resource:./templates/JavaDialog.xft.xml' '-resource:./templates/JavaFrame.xft.xml' '-resource:./templates/JavaOKDialog.xft.xml' '-resource:./templates/JavaPanel.xft.xml'    -r:Mono.Posix   -pkg:glade-sharp-2.0   -pkg:gtk-sharp-2.0   -pkg:mono-addins   -pkg:monodevelop    -r:System    -r:System.Drawing    -r:System.Xml  
./JavaLanguageBinding.cs(31,28): error CS0234: The type or namespace name `Dom' does not exist in the namespace `MonoDevelop.Projects'. Are you missing an assembly reference?
./JavaLanguageBinding.cs(32,28): error CS0234: The type or namespace name `Dom' does not exist in the namespace `MonoDevelop.Projects'. Are you missing an assembly reference?
./JavaLanguageBinding.cs(34,28): error CS0234: The type or namespace name `CodeGeneration' does not exist in the namespace `MonoDevelop.Projects'. Are you missing an assembly reference?
./JavaLanguageBinding.cs(109,10): error CS0246: The type or namespace name `IParser' could not be found. Are you missing an assembly reference?
./JavaLanguageBinding.cs(113,10): error CS0246: The type or namespace name `IRefactorer' could not be found. Are you missing an assembly reference?
Compilation failed: 5 error(s), 0 warnings
make[2]: *** [build/JavaBinding.dll] Error 1

如何安装这些最后的阻止项才能成功构建?

最佳答案

通过'./configure --select'禁用“extras/JavaBinding”和“extras/ValaBinding”。它们不起作用。

关于c# - 命名空间 `Dom' 中不存在类型或命名空间名称 `MonoDevelop.Projects',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19850385/

相关文章:

c# - 如何在Asp Net Web Api中默认返回404

c# - 中等信任共享环境上的 MySql Connectors 6.7.4

c++ - 用C++编号的文件名?

winforms - MonoDevelop中的WinForms应用程序

c# - 将背景图像添加到 monotouch.dialog View

c# - 传递匿名类型作为方法参数

c# - 如何从 .NET Core 中的 appsettings.json 读取节值

c++ - 二叉搜索树 C 删除节点一些错误

c++ - 在 C++ 代码中包含头文件的更好方法是什么?

c# - 在 MonoDevelop 中更改默认列宽/显示列标尺?