The PowerServer NuGet packages (PowerServer.Core and PowerServer.API) referenced by the PowerServer C# solution must be compatible with the application deployed via PowerServer Toolkit and PowerBuilder Runtime from different builds. See this table for a list of NuGet packages compatible with the application deployed via PowerServer Toolkit from different builds.
When you open the PowerServer project object in the PowerBuilder IDE, the NuGet package version referenced by the PowerServer project will be automatically upgraded to the current version.
Or when you build the PowerServer C# solution in the PowerBuilder IDE, the solution will be automatically backed up (in WebAPI_bak sub-folder under the solution directory) and then upgraded with the latest compatible PowerServer NuGet packages.