Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reflection Baking fails on nested class inside a DLL #40

Open
ttermeer-reboundcg opened this issue Oct 23, 2019 · 1 comment
Open

Reflection Baking fails on nested class inside a DLL #40

ttermeer-reboundcg opened this issue Oct 23, 2019 · 1 comment

Comments

@ttermeer-reboundcg
Copy link

ttermeer-reboundcg commented Oct 23, 2019

I have a DLL with some basic models that uses the Factory and MemoryPool from Zenject.

    public class Player : IPlayer
    {
        public int Id { get; set; }
        public class Pool : MemoryPool<Player> { }
    }

When I run the reflection baking on the DLL, I get the following error:
Could not find actual type for type 'Player/Pool', skipping

If I declared the pool as a non-nested class, there is no error message.

I am not sure if I am doing something incorrectly or maybe it is simply not possible to make nested class in the DLL for reflection baking.

@svermeulen
Copy link

Sounds like this is a bug in reflection baking

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

No branches or pull requests

2 participants