Project Name: Small Windows Script: captures
images from the notebook.
Document: Build Process
Project ID: 27406133
Project Version: 1.0.0
Project Link:
https://www.freelancer.com/projects/c-sharp-programming/Small-Windows-Script-captures-i
mages/details
Technology Stack:
Visual Studio 2019
.Net Core 3.1
Output type : Windows Application
Output Executable: Capture.exe
Packages
ETO.Forms
ETO.Platforms.Windows
Build .NET Core Projects using GUI mode
In this process we build .NET Core Desktop Application using Visual Studio 2019
Operating System : Windows
Prerequisite
Visual Studio 2019
Solution Files
START
Step by step build process:
1. Open Visual Studio 2019
2. Select Open a Project or Solution option
3. Navigate to folder, where your project file located and select <Project Name.sln> file
4. Select Project Solution Configuration Release
5. Select View Menu and Select Solution Explorer
6. Select Project from Solution Explorer
7. Click Build menu and Select Publish Capture
a) Option 1: Profile Already Created, If Profile is not created see Option 2 first
Verify bellow points before publish project
Select configuration Release option
Verify bellow options in Profile Settings dialog box
Once all above setting applied press Save to save build profile and note down Target
location path, where actually your executable compiled and created.
Press Publish option to build your Executable
Once Publish stated Visual Studio shows bellow message in status bar
Once Publish completed Visual Studio shows Publish Succeed bellow message in status bar
Build process completed go to Target Location noted in previous step.
END
START
b) Option 2: New Profile Creation
You will see bellow screen press Start button
Select folder target and press Next
Note down Folder Location, where actually your project published once compiled and
press Finish.
Now follow Option 1 to Build actual Project.
END
Build .NET Core Projects using Command line mode
In this process we build .NET Core Desktop Application using Command line options
Operating System : Windows
Prerequisite
.NET Core 3.1 SDK
Solution Files
Step by step build process:
START
1. Navigate to Project files using Explorer
2. Copy full path from Address bar
3. Press Windows + R and enter below command and replace you path with your copied path from
previous step.
cmd /K "cd <PATH>"
4. Press Enter this will open command prompt and place you in project file folder
5. Check dotnet core version by entering below command
dotnet --version
Result should be - 3.1xxx
6. If all above step OK then run bellow command to Publish single executable
dotnet publish -r win-x64 -c Release /p:PublishSingleFile=true
7. If everything Ok hopefull you will see bellow message
8. Go to publish folder mention in above step for published output.
9. Publish process completed successfully.
END