✅ which .net version should I be starting with?
i downloaded the latest version from the dotnet website, 9.0, and attempted to use this -> https://github.com/gui-cs/Terminal.Gui to build out a simple console app with a TUI, but I got an error saying that i need to be on .net 6, which is marked as end-of-support.
is it fine to stick with 9.0, or should I roll back to 8.0? its not terribly important that I be able to use Terminal.Gui, I just don't want to be locked out of using other libraries because the version of .net i'm using is too new.
GitHub
GitHub - gui-cs/Terminal.Gui: Cross Platform Terminal UI toolkit fo...
Cross Platform Terminal UI toolkit for .NET. Contribute to gui-cs/Terminal.Gui development by creating an account on GitHub.
18 Replies
where are you seeing that error? the library is supported on .net 9 just fine
so i've followed the instructions on the github and when I try to
dotnet run
it gives me this
That sounds like YOU built a .NET 6 app.
what? i don't see how I could've done that, unless i was supposed to pass some argument into
new
so I got the demo to run by doing dotnet run --roll-forward LatestMajor
i'm more interested in seeing if I did something wrong in the setup
dotnet --version
shows 9.0.202@enrico11011 share your csproj and the output of
dotnet --info
.csproj -
dotnet --info -

Unknown User•2w ago
Message Not Public
Sign In & Join Server To View
yeah that seems to have done it. i'm guessing its a bug that the original command puts out 6.0 as opposed to 9.0? or is this sort of thing normal in the C# world?
What was the "original command" you refer to?
dotnet new tui
Yeah, looks like v1 of the template project uses .NET 6: https://github.com/gui-cs/Terminal.Gui.templates/blob/v1.0.3/templates/basic/MyGuiCsProject.csproj#L5
Unknown User•2w ago
Message Not Public
Sign In & Join Server To View
Yeah, the readme says that V2 is in alpha but you can use it if you want, while V1 is stable and receiving maintenance updates
Unknown User•2w ago
Message Not Public
Sign In & Join Server To View
its working now, thanks for the help all. do i need to mark this as closed or something?
@enrico11011 $close
If you have no further questions, please use /close to mark the forum thread as answered