Do

Problem compiling plugin

Asked by Austin Rochford

I've written a small test plugin to try to understand the do plugin system, but I'm having a hard time compiling it.

I've installed the gnome-do source to /home/austin/Misc/Software/src/gnome-do/, and am trying to compile my plugins with

gmcs -target:library -r:System -r:/home/austin/Misc/Software/src/gnome-do/Do.Addins ls.cs

but I keep getting the error

error CS0009: file `/home/austin/Misc/Software/src/gnome-do/Do.Addins' has invalid `assembly' metadata
Compilation failed: 1 error(s), 0 warnings

I appreciate any possible help!

Question information

Language:
English Edit question
Status:
Solved
For:
Do Edit question
Assignee:
No assignee Edit question
Solved by:
David Siegel
Solved:
Last query:
Last reply:
Revision history for this message
David Siegel (djsiegel-deactivatedaccount) said :
#1

Maybe this will work? The path you specified points to the source code directory, not the built library

   $ gmcs -target:library -r:System -r:/home/austin/Misc/Software/src/gnome-do/Do.Addins/bin/Debug ls.cs

Revision history for this message
Best David Siegel (djsiegel-deactivatedaccount) said :
#2

Or:

   $ gmcs -target:library -r:System -r:/home/austin/Misc/Software/src/gnome-do/Do.Addins/bin/Debug/Do.Addins ls.cs

You really didn't try this yourself first before asking this question? You could have figured this out.

Revision history for this message
Austin Rochford (austinrochford) said :
#3

Thanks David Siegel, that solved my question.