Build the software development kit (SDK) examples solution
- Last UpdatedApr 24, 2025
- 1 minute read
Follow the procedure below to retrieve the source code and build the examples' extended libraries on your system.
To build the software development kit (SDK) examples solution
-
Set up the Test and Development System.
For more information around installation, please contact AVEVA Customer Support.
-
On the RealTime server in the Test and Development System, log on as dnaInstaller.
-
Install the RealTime.Service.msi file, if not already installed.
-
On the RealTime server in the Test and Development System, log on as a member of DNA Developers.
-
On the desktop, double-click the Windows PowerShell for DNA shortcut.
Windows PowerShell for DNA opens.
-
Create a RealTime Developer Environment (refer to the AVEVA Enterprise SCADA Shared Components Developer documentation).
-
To build all the examples, proceed as follows:
-
In Notepad, open the %DNASourceRoot%\RealTime\build.xml file.
-
Locate the <ItemGroup Label="Solutions"> element.
-
Add the following to the above element:
AdminPager.Example.sln
The updated section should look as follows:
<ItemGroup Label="Solutions">
<Solution Include="source\AdminPager.Example.sln" />
</ItemGroup>
-
Save and close the file.
-
-
Select Start, and, in the Search field, enter Developer Command Prompt for Visual Studio.
-
Press Enter.
The Visual Studio Developer Command Prompt window opens.
-
Execute the following commands:
cd %DNASourceRoot%\RealTime
msbuild build.xml
Once msbuild completes successfully, the system will copy the SendAdminPage.exe file to %DNADataRoot%\RealTime\bin.
-
Test the code as follows:
-
Ensure that the Common service is running.
-
On the desktop, double-click the Windows PowerShell for DNA shortcut.
Windows PowerShell for DNA opens.
-
Execute the following commands:
set-silo RealTime
SendAdminPage
-
Verify that an admin page is received with the following text:
This is just a test!
-