Post

TritonMate Words: How to Compile on openSUSE and Ubuntu

Finally I learned how to run NuGet on Mono, so below is the updated steps to build #SNMP latest code base on Mono and openSUSE.

Finally I learned how to run NuGet on Mono, so below is the updated steps to build #SNMP latest code base on Mono and openSUSE.

  1. Install necessary packages

    1
    
    sudo zypper install mono-complete git
    
  2. Clone #SNMP code base

    1
    
    git clone git://github.com/lextudio/sharpsnmplib.git
    
  3. Prepare to build

    1
    
    ./prepare.sh
    
  4. Import certificates

    1
    
    mozroots --import --sync
    
  5. Download Microsoft.Build.dll from my DropBox folder, which comes from Mono 3.0 Windows installation, and copy it to .nuget folder in #SNMP source folder. cp ~/Downloads/Microsoft.Build.dll ~/sharpsnmplib/.nuget

  6. Start the build

    1
    
    ./release.sh
    

Note that the first step is slightly different on Ubuntu,

1
sudo apt-get install mono-complete git mono-vbnc mono-devel mono-xbuild
© Lex Li. All rights reserved. The code included is licensed under CC BY 4.0 unless otherwise noted.
Advertisement

© - Lex Li. All rights reserved.

Using the Chirpy theme for Jekyll.

Last updated on November 06, 2024