#SNMP Compiler Pro Trial Version Reviewers’ Guide¶
By Lex Li
This page shows you a guide on #SNMP Compiler Pro Trial version.
The Trial version can be requested here, and is packaged up with the latest #SNMP Library and SharpSnmpPro.Mib.
To test it out, the default test MIB documents can be found at
GitHub . It can be cloned to a
local folder, such as
git clone https://github.com/lextm/sharpsnmppro-mib.git
Then the documents can be copied to that folder (
Launch the compiler by executing
Compiler.exe and then click
menu item to navigate to
folder in Open file dialog.
Change the file extension filter to All files (.), and then select all .txt files in this folder. Click Open button to open all files in the compiler. The file names should appear in Solution Explorer panel.
Click Build | Compile menu item to start compiling the files. In a few seconds, the Object Tree panel should be updated with objects extracted from the files, while Module List panel shows the loaded modules (as well as pending ones).
The Error List panel should display any error or warnings. The Output panel contains the diagnostics logging entries.
There is a button on the tool bar to control C# code generation.
If this button is checked, then when
Compiler.exe compiles MIB
documents, its working directory will add a new folder
contains the generated source files.
To learn the usage of generated files, please refer to /tutorials/mib2sharp.