[MonoDevelop] Is Vala binding supposed to work?

Seref Arikan serefarikan at gmail.com
Mon May 12 20:32:22 UTC 2014


Greetings,
I've been trying to get Vala binding for MonoDevelop to work without
success for almost two days now.
I am using Elementary OS (Luna) which is based on Ubuntu 12.04. The
installation instructions for building from source are all over the web
with slight variations.

Despite all my efforts, I could not manage to get the compilation (using
the code on the git repository) work when I include the Vala bindings.
 I've tried a few versions from 4.0 to latest master branch (5.1 I think)
and the results are always the same when I include Vala bindings through
./configure --select. I also think that the vala bindings expect vala 0.12
even though the current version of Vala is 0.24, but that is another story.

Here is the end of my compilation log where the process fails:

./Gui/CompilationUnitDataProvider.cs(38,19): error CS0234: The type or
namespace name `Dom' does not exist in the namespace
`MonoDevelop.Projects'. Are you missing an assembly reference?
./Gui/DataProvider.cs(38,19): error CS0234: The type or namespace name
`Dom' does not exist in the namespace `MonoDevelop.Projects'. Are you
missing an assembly reference?
./Gui/DataProvider.cs(39,19): error CS0234: The type or namespace name
`Dom' does not exist in the namespace `MonoDevelop.Projects'. Are you
missing an assembly reference?
./Gui/ValaTextEditorExtension.cs(45,19): error CS0234: The type or
namespace name `Dom' does not exist in the namespace
`MonoDevelop.Projects'. Are you missing an assembly reference?
./Gui/ValaTextEditorExtension.cs(46,19): error CS0234: The type or
namespace name `Dom' does not exist in the namespace
`MonoDevelop.Projects'. Are you missing an assembly reference?
./Parser/ValaDocumentParser.cs(32,19): error CS0234: The type or namespace
name `Dom' does not exist in the namespace `MonoDevelop.Projects'. Are you
missing an assembly reference?
./Parser/ValaDocumentParser.cs(33,19): error CS0234: The type or namespace
name `Dom' does not exist in the namespace `MonoDevelop.Projects'. Are you
missing an assembly reference?
./ValaLanguageBinding.cs(40,19): error CS0234: The type or namespace name
`Dom' does not exist in the namespace `MonoDevelop.Projects'. Are you
missing an assembly reference?
./ValaLanguageBinding.cs(41,19): error CS0234: The type or namespace name
`CodeGeneration' does not exist in the namespace `MonoDevelop.Projects'.
Are you missing an assembly reference?
./Gui/ParameterDataProvider.cs(49,39): error CS0246: The type or namespace
name `IParameterDataProvider' could not be found. Are you missing
`ICSharpCode.NRefactory.Completion' using directive?
./Gui/ParameterDataProvider.cs(275,41): error CS0246: The type or namespace
name `CompletionCategory' could not be found. Are you missing
`ICSharpCode.NRefactory.Completion' using directive?
./Gui/ValaTextEditorExtension.cs(416,34): error CS0234: The type or
namespace name `Dom' does not exist in the namespace
`MonoDevelop.Projects'. Are you missing an assembly reference?
./Parser/ValaDocumentParser.cs(42,35): error CS0246: The type or namespace
name `AbstractParser' could not be found. Are you missing
`ICSharpCode.OldNRefactory.Parser' using directive?
./Gui/DataProvider.cs(49,3): error CS0246: The type or namespace name
`Ambience' could not be found. Are you missing `MonoDevelop.Ide.TypeSystem'
using directive?
./Gui/DataProvider.cs(50,8): error CS0246: The type or namespace name
`IMember' could not be found. Are you missing
`ICSharpCode.NRefactory.TypeSystem' using directive?
./Gui/DataProvider.cs(54,50): error CS0246: The type or namespace name
`Ambience' could not be found. Are you missing `MonoDevelop.Ide.TypeSystem'
using directive?
./Gui/DataProvider.cs(80,21): error CS0246: The type or namespace name
`Ambience' could not be found. Are you missing `MonoDevelop.Ide.TypeSystem'
using directive?
./Gui/DataProvider.cs(80,35): error CS0246: The type or namespace name
`IMember' could not be found. Are you missing
`ICSharpCode.NRefactory.TypeSystem' using directive?
./Gui/ParameterDataProvider.cs(281,34): error CS0246: The type or namespace
name `CompletionCategory' could not be found. Are you missing
`ICSharpCode.NRefactory.Completion' using directive?
./Gui/ValaTextEditorExtension.cs(108,39): error CS0115:
`MonoDevelop.ValaBinding.ValaTextEditorExtension.HandleCodeCompletion(MonoDevelop.Ide.CodeCompletion.CodeCompletionContext,
char)' is marked as an override but no suitable method found to override
./Gui/ValaTextEditorExtension.cs(245,20): error CS0246: The type or
namespace name `IParameterDataProvider' could not be found. Are you missing
`ICSharpCode.NRefactory.Completion' using directive?
./Gui/ValaTextEditorExtension.cs(349,40): error CS0234: The type or
namespace name `TextDocumentLocationEventArgs' does not exist in the
namespace `Mono.TextEditor'. Are you missing an assembly reference?
./Gui/ValaTextEditorExtension.cs(418,23): error CS0246: The type or
namespace name `INode' could not be found. Are you missing
`ICSharpCode.OldNRefactory.Ast' or `ICSharpCode.NRefactory.PatternMatching'
using directive?
./Parser/ValaDocumentParser.cs(44,11): error CS0246: The type or namespace
name `ParsedDocument' could not be found. Are you missing
`MonoDevelop.Ide.TypeSystem' using directive?
./Parser/ValaDocumentParser.cs(46,19): error CS0246: The type or namespace
name `ParsedDocument' could not be found. Are you missing
`MonoDevelop.Ide.TypeSystem' using directive?
./ValaLanguageBinding.cs(62,10): error CS0246: The type or namespace name
`IParser' could not be found. Are you missing `ICSharpCode.OldNRefactory'
using directive?
./ValaLanguageBinding.cs(66,10): error CS0246: The type or namespace name
`IRefactorer' could not be found. Are you missing an assembly reference?
Compilation failed: 27 error(s), 0 warnings
make[1]: *** [build/MonoDevelop.ValaBinding.dll] Error 1
make[1]: Leaving directory
`/home/sarikan/Downloads/monodevelop-git/monodevelop/extras/ValaBinding'
make: *** [all-recursive] Error 1


If I don't include Vala bindings and try to compile the Vala Binding add-in
using MonoDevelop, some of the the project's references can't be resolved.
I remove and add  most of them, but some of them are simply not available
after the compilation.

This all gives me the impression that Vala binding is a feature that has
been left to die, but it is still in the build options and source code. Am
I correct? Is it possible to get 4.X version of Monodevelop with the latest
version of Vala on Ubuntu 12.04?

We have good reasons to look into MonoDevelop and mono on linux, but Vala
integration would make things even better, but there is no point in
spending time if it is not supposed to work anymore :)

Best regards
Seref
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20140512/b1d0b710/attachment.html>


More information about the Monodevelop-list mailing list