mono develop ASP5.0 with elementary freya

I recently invited Freya to visit me in my crib and god - she's so cute Sealed

All I needed to do additionally is to teach her talking mono / .NET Core 5 languange. Since Freya is based on Ubuntu 14.04 LTS it was straight forward.

Prepare mono apt repositorys:

  sudo apt-key adv --keyserver keyserver.ubuntu.com --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

Install mono:

  sudo apt-get install mono-devel
  sudo apt-get install mono-complete
  sudo apt-get install referenceassemblies-pcl
  sudo apt-get install ca-certificates-mono

  • mono-devel to compile code. fe. get the compiler (like mcs)
  • mono-complete to get all assemblys for "standard" .NET development - this should cover most cases of “assembly not found” errors.
  • referenceassemblies-pcl for portable libraries support this should cover most cases of “Framework not installed: .NETPortable" errors.
  • ca-certificates-mono to get SSL cert's for HTTPS connections

Install monodevelop:

  sudo apt-get install monodevelop
  sudo apt-get install monodevelop-nunit
  sudo apt-get install monodevelop-versioncontrol

  • monodevelop to get MonoDevelop / Xamarin
  • monodevelop-nunit to get NUnit, so you can run unit tests inside the IDE.
  • monodevelop-versioncontrol to get Git and SVN integration to the IDE.

Update installation to use ASP5.0:

  # get mono's ASP.NET hosting server
  sudo apt-get install mono-xsp4
 
  # add ASP registry paths
  sudo mkdir /etc/mono/registry
  sudo mkdir /etc/mono/registry/LocalMachine
  sudo chmod g+rwx /etc/mono/registry
  sudo chmod g+rwx /etc/mono/registry/LocalMachine

Done this you can start MonoDevelop and create an ASP.NET Project with Tests. Running it will show "Welcome to ASP.NET MVC 5.2 on Mono!".

Good Luck!

1 comment

fYsXDByRDldVYe

by Levente (not verified) on 13. July 2015 - 0:44

Some users complained that moevndoelop-latest could not be found without adding this repo. Can you install it anyway? Nevertheless it's the only known repo that provides that package dunno if Ubuntu has got a special one tho

Pages

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.
  • No HTML tags allowed.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. The supported tag styles are: <foo>, [foo].
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.
© 2010 khype.org.. Drupal theme by Kiwi Themes.