Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Fody not finding weaver? #20

@ArcanoxDragon

Description

@ArcanoxDragon

I'm attempting to use this in conjunction with Ninject.Extensions.StaticProxy so that I can use Factories in a Xamarin.iOS application.

I installed Ninject.Extensions.StaticProxy, StaticProxy.Fody, and StaticProxy.Interceptor into my main Xamarin project (the common project). I have Realm already installed, so I already have a FodyWeavers.xml file in the project. I added [StaticProxy] to all my factory interfaces, but if I run the app, I get a runtime exception stating "There is no auto-generated implementation for interface [my interface]". I figured this was because the weaver was not in my FodyWeavers.xml file, so I tried manually adding <StaticProxy /> to it, but then I get a compile error: "Fody: No weavers found for the configuration entries StaticProxy. Add the desired weavers via their nuget package."

Why isn't Fody able to find the weaver?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions