0% found this document useful (0 votes)
59 views9 pages

Capture Build

This document outlines the build process for a small Windows script project that captures images from a notebook. It describes building the .NET Core desktop application using either Visual Studio 2019's GUI mode or command line options. The key steps for the GUI mode include opening the solution in Visual Studio, setting the solution configuration to Release, publishing the project, and verifying the build output. The command line process involves navigating to the project files, checking the .NET Core version, and using the dotnet publish command to generate a single executable file in the specified output folder.

Uploaded by

Viru Shah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
59 views9 pages

Capture Build

This document outlines the build process for a small Windows script project that captures images from a notebook. It describes building the .NET Core desktop application using either Visual Studio 2019's GUI mode or command line options. The key steps for the GUI mode include opening the solution in Visual Studio, setting the solution configuration to Release, publishing the project, and verifying the build output. The command line process involves navigating to the project files, checking the .NET Core version, and using the dotnet publish command to generate a single executable file in the specified output folder.

Uploaded by

Viru Shah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

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

You might also like