Build and deploy the PowerServer project
To build and deploy a PowerServer project:
-
Before building and deploying the application, make sure to
close any antivirus tool on the development machine. -
Click the Build & Deploy
PowerServer Project button (
) in the toolbar, or right-click the
PowerServer project in the System Tree and then select Build & Deploy PowerServer Project to
build and deploy the application to the server. Or select
Deploy PowerServer Project if you
have already built the application before.The application executable file (as well as the PBD files)
is generated under %TEMP%pbappscache emp[appname] (for example,
C:UsersappeonAppDataLocalTemppbappscache empsalesdemo_cloud)
on the development machine, then digitally signed, and deployed to
the server.The PowerServer C# solution is generated under the specified
location (by default C:Users[username]source
epos).Note
After the application is deployed to the server, do not
manually change the application folder name on the server,
otherwise the application uninstall program will fail to
run.
The build & deploy process is composed of the following
tasks:
|
Process |
What does the process |
|---|---|
|
Build |
1) Generates or updates the PowerServer C# 2) 3) Configures or updates the PowerServer 4) Compiles the 5) |
|
Deploy |
Adds the server settings (app name, Kestrel port |
|
Deploy or Package |
Uploads the app files (PBD files, app executable |
You can also build and deploy the project using commands (see
Build the
PowerServer project with commands for details).