Unable to find package PowerServer.Api or PowerServer.Core

If you switch the target framework between ASP.NET Core 3.1 and .NET 6.0 and generate the PowerServer C# solution, the following error will occur when the solution is compiled in SnapDevelop IDE.


Solution:

Right-click the solution and select Restore NuGet Packages and then compile the solution again.