In version 2021, a PowerServer solution could only target the .NET Core 3.1 framework, but starting from version 2022 it supports .NET 6.0 and .NET Core 3.1. You can select the framework version from the Target Framework dropdown list on the Advanced tab of the .NET Server page.