[MonoDevelop] Hot to User MonoDevelop.XmlEditor for Own Projects
Jacek Rużyczka
stacheldraht at interia.pl
Thu Oct 15 08:41:06 EDT 2009
Hi folks,
in my app I will be editing XML documents stored in a PostgreSQL database. MD
does feature the MonoDevelop.XmlEditor...but to implant it into an SW project,
is somehow troublesome:
The DLL I've got (from MD 2.0.1-1) does not contain the necessary GUI elements
like the source view, so I had to download the XmlEditor sources & build them.
But then this happened:
error CS0006: cannot find metadata file
`/usr/lib/monodevelop/AddIns/MonoDevelop.SourceEditor.dll'
OK, the SourceEditor.dll is called SourceEditor2.dll on my installation, so I
created a softlink. No use:
./SourceViewTextIterator.cs(18,46): error CS0246: The type or namespace name
`ForwardTextIterator' could not be found. Are you missing a using directive or
an assembly reference?
./XmlCompletionDataProvider.cs(18,50): error CS0246: The type or namespace
name `ICompletionDataProvider' could not be found. Are you missing a using
directive or an assembly reference?
./XmlEditorView.cs(17,32): error CS0234: The type or namespace name `Gui' does
not exist in the namespace `MonoDevelop.SourceEditor'. Are you missing an
assembly reference?
./XmlEditorViewContent.cs(22,109): error CS0246: The type or namespace name
`IPositionable' could not be found. Are you missing a using directive or an
assembly reference?
Apparently the SourceEditor was not in the GAC...but:
veteran:/usr/lib/monodevelop/AddIns # gacutil -i MonoDevelop.SourceEditor2.dll
Failure adding assembly MonoDevelop.SourceEditor2.dll to the cache: Attempt to
install an assembly without a strong name
What shall I do now? Why does the SourceEditor DLL not contain a strong name?
Regards
Jacek Rużyczka
----------------------------------------------------------------------
Bezp³atne konto i limit do 100 tys. Otwierasz?
>> http://link.interia.pl/f23bb
More information about the Monodevelop-list
mailing list