Build the software development kit (SDK) example solution
- Last UpdatedApr 24, 2025
- 1 minute read
Follow the procedure below to retrieve the source code and build the executable.
To build the software development kit (SDK) example 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 RealTime.Service.msi, 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 the executable, 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:
SystemAlarmRouting.Example.sln
The updated section should look as follows:
<ItemGroup Label="Solutions">
<Solution Include="source\SystemAlarmRouting.Example.sln"/>
</ItemGroup>
-
-
Select Start, and enter the following:
Developer Command Prompt for Visual Studio
-
Press Enter.
The Visual Studio Developer Command Prompt window opens.
-
To build the executable, execute the following commands:
%DNASourceRoot%\RealTime\source
msbuild build.xml
Once msbuild completes successfully, the system copies the SystemAlarmRouting.Example.exe file to %DNADataRoot%\RealTime\bin.
-
Restart the RealTime service.
-
Start up the executable.