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

Fody not finding weaver? #20

Open
ArcanoxDragon opened this issue Oct 1, 2019 · 2 comments
Open

Fody not finding weaver? #20

ArcanoxDragon opened this issue Oct 1, 2019 · 2 comments

Comments

@ArcanoxDragon
Copy link

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?

@BrunoJuchli
Copy link
Owner

@briman0094 I haven't updated this project in a long time (not using it personally). Current Fody version won't work with it.

@BrunoJuchli
Copy link
Owner

@briman0094
I have unlisted and deprecated the nuget packages and will archive this repo.
If you (or any one else) want to take the project over, you can contact me by e-mail.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants