If you switch the version of target framework and generate the PowerServer C# solution, the following error may 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.