You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a class library project, in which there is an abstract class
"ScreenViewModelBase",
I created another class library project, and established
"ShellViewModel: ScreenViewModelBase"
When I refer to these two class libraries in the main project, I create
"public class AppBootstrapper: Bootstrapper"
with exception "no registrations found for service ShellViewModel." so when I rewrite "ConfigureIoC", I add builder. Bind<Screenviewmodelbase>(). Toallimplementation(), the same exception will still occur, but when I no longer have cited After all the code is implemented to the main project in this way, this exception will not happen again. It seems that everything is normal again. I don't understand why? Is it related to the assembly?
The text was updated successfully, but these errors were encountered:
I created a class library project, in which there is an abstract class
"ScreenViewModelBase",
I created another class library project, and established
"ShellViewModel: ScreenViewModelBase"
When I refer to these two class libraries in the main project, I create
"public class AppBootstrapper: Bootstrapper"
with exception "no registrations found for service ShellViewModel." so when I rewrite "ConfigureIoC", I add
builder. Bind<Screenviewmodelbase>(). Toallimplementation()
, the same exception will still occur, but when I no longer have cited After all the code is implemented to the main project in this way, this exception will not happen again. It seems that everything is normal again. I don't understand why? Is it related to the assembly?The text was updated successfully, but these errors were encountered: