User Tools

Site Tools


map_suite_mono_environment_setup_guide_on_linux

This is an old revision of the document!


Map Suite Mono Environment Setup Guide on Linux

The Map Suite mono environment setup guide on Linux will guide you through a process of setting Mono environment on Map Suite WebAPI and Map Suite WebForms. The guide supports Map Suite 10.0.0.0 and higher.

The purpose of this guide is to help you quickly setup Map Suite WebAPI or Map Suite WebForms environment on Linux.

Map Suite controls are created with Microsoft .Net Frameworks. These controls are depended on Mono runtime and MonoDevelop IDE. Following steps will guide to setup Mono environment on Linux.

Setup Mono runtime and MonoDevelop IDE

For Winforms:

  • Prepare a clean Ubuntu environment with version 16.04.01 LTS.
  • Press Ctrl + Alt + T to open a terminal window.
  • Install the IDE MonoDevelop as it is recommended to develop on Linux. Run the following command to install Mono Develop on your computer.
  sudo apt-get install monodevelop
  • Run monodevelop command in terminal to open MonoDevelop, or you can click on left top corner of task bar to search MonoDevelop and run it. You can open Visual Studio solution file via MonoDevelop.

WebAPI / WebForms:

  • Follow the above steps 1-4, then proceed to the next step.
  • Add the Mono Project GPG signin key and the package repository to your system (if you don’t use sudo, be sure to switch to root). Please issue the following commands line by line:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF 
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
  • Then, install the specific version of MonoDevelop that gives you a working ASP.NET add-in:
sudo apt-get install monodevelop=5.10.0.871-0xamarin2
  • To host the ASP.Net debug sample, install XSP4.
sudo apt-get install mono-xsp4
  • Install the mono environment. Issue the following commands line by line, depending on network this step may take a few minutes.
sudo apt-get install mono-devel
sudo apt-get install mono-complete
sudo apt-get install referenceassemblies-pcl

Notice:Please enter Y when asked to continue. *

  • Run monodevelop command in terminal to open MonoDevelop, or you can click on left top corner of task bar to search MonoDevelop and run it. You can open Visual Studio solution file via MonoDevelop.
map_suite_mono_environment_setup_guide_on_linux.1488353424.txt.gz · Last modified: 2017/03/01 07:30 by tgwikiupdate