Closed reiniellematt closed 4 years ago
I read the code and I saw that only ActiveItemAsync is available. I guess ActiveItem will not be used anymore.
This was part of a move towards async
I have similar experience. Try use:
await ActivateItemAsync(IoC.Get
I am currently trying to use Caliburn.Micro with WPF in .NET Core 3.1. While creating a simple "single page" application wherein I only have one window (ShellView) and I will be using UserControls to be the pages.
Platform: Windows 10 Home 1909 64-bit
Steps on recreating the issue:
Microsoft.Extensions.DependencyInjection
,Microsoft.Extensions.Options.ConfigurationExtensions
, andMicrosoft.Extensions.Configuration.Json
NuGet packages to be used as the DI for the project.App.xaml
Bootstrapper.cs
namespace CaliburnDI { public class Bootstrapper : BootstrapperBase { public IServiceProvider ServiceProvider { get; set; } public IConfiguration Configuration { get; set; }
}
using Caliburn.Micro;
namespace CaliburnDI.ViewModels { public class ShellViewModel : Conductor