Caliburn-Micro / Caliburn.Micro

A small, yet powerful framework, designed for building applications across all XAML platforms. Its strong support for MV* patterns will enable you to build your solution quickly, without the need to sacrifice code quality or testability.
http://caliburnmicro.com/
MIT License
2.79k stars 775 forks source link

Can't setup caliburn.micro in .Net 6 WPF application #858

Closed oblomingo closed 11 months ago

oblomingo commented 1 year ago

I've tried to set up a caliburn.micro in WPF application (.NET 6) by doing all steps described in the official caliburn documentation one-by-one: from https://caliburnmicro.com/documentation/Tutorials/WPF/SolutionSetup to https://caliburnmicro.com/documentation/Tutorials/WPF/Bootstrapper. Sadly, but I can't create Bootstrapper class derived from BootstrapperBase, because Visual Studio can't find the BootstrapperBase: The type or namespace name 'BootstrapperBase' could not be found. image Does caliburn.micro support .Net 6? If yes, how I could create the Bootstrapper class?

KasperSK commented 1 year ago

Which version of Caliburn.Micro are you using? Version 4 should support .NET 6.

Frenchy62620 commented 1 year ago

you havent installed Caliburn.micro, but Caliburn.Micro.Core..??

image

oblomingo commented 1 year ago

@Frenchy62620 Correct, I've installed only Caliburn.Micro.Core. It works perfectly fine with Caliburn.Micro nuget package. Thank you! Since the code doesn't work without Caliburn.Micro, shouldn't the Caliburn.Micro.Core NuGet package bring Caliburn.Micro as dependency?

KasperSK commented 1 year ago

@oblomingo the Core package contains the non platform specific parts of the framework such that it could be used in a class library to share code between platforms.

vb2ae commented 1 year ago

There are templates available

https://marketplace.visualstudio.com/items?itemName=KenTucker.VS2022-Caliburn-Micro-templates-vb2ae