To expand on the accepted answer by Miljac:
If you're using Autofac as your dependency resolver, you need to register your View as a Named service (see docs), e.g.
builder.RegisterType<MyView>()
.As<IViewFor<MyViewModel>>()
.Named<IViewFor<MyViewModel>>("ViewWithContract");