Replies: 1 comment
-
|
This is expected behavior.
Just add builder.Register<MainViewModel>(Lifetime.Scoped)
.As<IMainViewModel>()
.AsSelf();(or register Not a circular dep thing — if it was, you’d get a circular dependency error, not “no such registration”. Also worth noting: resolving stuff inside |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
[Update] In manifest.json I am switch from 1.17 to 1.16 and back and now it all magically work again!
I am using VContainer 1.17.0
i've got something like this:
I don't understand what I am doing wrong? Is this because somewhere is circular dependency in code?
Beta Was this translation helpful? Give feedback.
All reactions