Replies: 2 comments
|
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 |
|
Glad to hear it's working again. If the registration explanation above matches the original issue, feel free to mark it as the answer so the resolution is easier to find for others. |
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?
All reactions