Follow the steps to Package server:
Step 1. Select build target as YourProjectName
Step 2. Navigate to Platforms > Windows > Package Project
Step 3. Select an empty folder to store the packaged app
Step 4. Packaging Successful
Follow the steps to Package server: