Re: [Banshee-devel-list] [banshee-devel-list] BCE reusing code from another extension



No, you need to add it as a dep in the addin.xml file too.

On Sun, Feb 13, 2011 at 8:06 PM, Frank <funtastix googlemail com> wrote:
> Wow. That took me still another hour so figure it out. Thanks so much
> for pointing me into the right direction, I guess I'll still have to
> learn more about building ...
>
> changed the SUBDIRS accordingly, added Project Reference in
> MonoDevelop and altered my Makefile.am:
>
> -LINK = $(BANSHEE_LIBS)
> +REFS = -r:$(top_builddir)/bin/Banshee.Streamrecorder.dll
> +LINK = $(BANSHEE_LIBS) $(REFS)
>
> Magic!
>
> Is that still going to work when the user does not have Streamrecorder
> installed? I guess not?
>
> 2011/2/12 Gabriel Burt <gabriel burt gmail com>:
>> Yes, but you need to make sure the ref is in the .csproj and the
>> Makefile.am, and then make sure that the dependent one is built after
>> the other, in the SUBDIRS Makefile.am section.
>>
>> On Fri, Feb 11, 2011 at 11:07 PM, Frank <funtastix googlemail com> wrote:
>>> Hello,
>>>
>>> I've been playing around with creating a new extension and I would
>>> like to reuse the Banshee.Streamrecorder.Gst code, but even though I
>>> can add the Streamrecorder project to the new projects references and
>>> MonoDevelop (on Ubuntu 10.10) does now do code completion for it, when
>>> I compile I get a namespace not found error (CS0234) for the
>>> Banshee.Streamrecorder namespace. Is what I am trying possible in any
>>> way?
>>>
>>> Thanks
>>>
>>> Frank
>>> _______________________________________________
>>> banshee-devel-list mailing list
>>> banshee-devel-list gnome org
>>> http://mail.gnome.org/mailman/listinfo/banshee-devel-list
>>>
>> _______________________________________________
>> banshee-devel-list mailing list
>> banshee-devel-list gnome org
>> http://mail.gnome.org/mailman/listinfo/banshee-devel-list
>>
> _______________________________________________
> banshee-devel-list mailing list
> banshee-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/banshee-devel-list
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]