canton7 / Stylet

A very lightweight but powerful ViewModel-First MVVM framework for WPF for .NET Framework and .NET Core, inspired by Caliburn.Micro.
MIT License
988 stars 143 forks source link

Does `Stylet.Start` scaffold package supports .net 5? #173

Closed GF-Huang closed 3 years ago

GF-Huang commented 3 years ago

I don't prefer to use command line for creating project in windows visual studio.

canton7 commented 3 years ago

Stylet.Start only supports .NET Framework, not .NET Core (and .NET 5 is just reskinned .NET Core, although I should make that clearer in the docs). Strictly, it only supports old-style projects, not SDK-style ones.

I'm not sure whether Stylet works on .NET 5 (need to test), but you will need to use Stylet.Templates. The powershell hackery done by Stylet.Start simply doesn't work on SDK-style projects. As of VS 16.2 Preview 8, there's an option to make the CLI templates show up in the New Project window.

GF-Huang commented 3 years ago

OK, thanks.