Create Build
How to Create Builds using DocDigitizer WorldObjects
This page provides information on how to create simple builds.
A build is a file that let you define the packaging of your objects and perform compiling, linking and packaging the compiled code into a NuGet package.
Create build
Open your VS Code and go to your workspace.
Select "New Build" and give it the name "MyBuild."
Note: by default the build will be version 1.0.0.
![Build1.png 415](https://files.readme.io/f420655-Build1.png)
![Build2.png 624](https://files.readme.io/78ed185-Build2.png)
Select the build to configure as the "default build."
You can change the default build at any time.
![Build3.png 390](https://files.readme.io/929186c-Build3.png)
Go to your object "Gender" (create previous) and select "Add to Build."
![Build4.png 395](https://files.readme.io/d005646-Build4.png)
Open your build file and find the following parametrization:
// MyObjects
Include MyObjects.Gender.1.0.0
Execute Build
On your build file ("MyBuild") select "Build."
![Build5.png 385](https://files.readme.io/eab988a-Build5.png)
Check the Terminal of VS Code for the build information if there is any error.
![Build6.png 624](https://files.readme.io/38f53d1-Build6.png)
Download Nuget Package
On your build file ("MyBuild") select "Download" (choosing the directory where you want to download the files).
![Build7.png 395](https://files.readme.io/f9da57e-Build7.png)
In the directory where you download the files, you will find two NuGet Packages
- DocDigitizer.SemanticObjects.MyObjects.MyBuild.1.0.0.nupkg
- DocDigitizer.ServiceAPI.1.0.4.nupkg => this contains functionalities that handles with the of DocDigitizer Powercapture core services
Note: DocDigitizer.ServiceAPI.1.0.4.nupkg is the version at the time that this tutorial was made.
Updated over 2 years ago