Open JudgeGroovyman opened 1 month ago
I have updated the templates project and released to nuget.
I've named the release version the same as the library package release that it targets. This is consistent with Terminal.Gui Designer.
It ensures that while we are still in alpha and making breaking changes the restored nuget package will always work (it is pinned).
Unfortunately the install command for templates (dotnet new install
) does not support --prerelease
so you need to explicitly name the version you want to install.
The README on the template repo has been updated accordingly so it explains how to target v1 or v2.
dotnet new install Terminal.Gui.Templates::2.0.0-v2-develop.2203
Let me know if you have any issues @JudgeGroovyman and we can re-open.
@tig I am reopening as I realize the 'Quick Start' section still shows the template v1. But installing pre release templates is annoying because you have to specify full version (See above).
Not sure what you want to do about that. Could copy the code from the template readme or just put in the version explicitly like above?
Describe the bug A user should be able to naturally follow the steps on the main page with no errors which suggest to run the template commands, and then run the example code.
To Reproduce
Expected behavior A user should be able to naturally follow the steps on the main page with no errors which suggest to run the template commands, and then run the example code.
Either