Ludeon Forums

Ludeon Forums

  • August 03, 2021, 12:39:53 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: [Tutorial] Monodevelop and .NET 3.5 on Debian based Linux (Eg: Ubuntu)  (Read 21707 times)

rubenwardy

  • Muffalo
  • *
  • Posts: 11
  • Refugee
    • View Profile
    • rubenwardy.com

After many many hours of research, here is a repost of a blog post I made explaining how to install Monodevelop in a way that allows you to compile to .NET 3.5 http://blog.rubenwardy.com/2016/07/20/rimworld-install-monodevelop-with-dot-net-3.5/
« Last Edit: August 04, 2018, 11:12:24 AM by rubenwardy »
Logged
Computer science student, game developer, and open source contributor. Twitter

1000101

  • Planetologist
  • ****
  • Posts: 1344
  • RimFortress Builder
    • View Profile

Forum moderator!  Please pin this!

@rubenwardy - Good job on seeking out and providing this information.  :)
Logged
(2*b)||!(2*b) - That is the question.
There are 10 kinds of people in this world - those that understand binary and those that don't.

Powered By

skullywag

  • Global Moderator
  • Transcendent
  • ****
  • Posts: 5868
  • Engineer
    • View Profile

Stickied, good work.
Logged
Skullywag modded to death.
I'd never met an iterator I liked....until Zhentar saved me.
Why Unity5, WHY do you forsake me?

Kaiser_Gun

  • Muffalo
  • *
  • Posts: 1
  • Refugee
    • View Profile
Re: [Tutorial] Monodevelop and .NET 3.5 on Debian based Linux (Eg: Ubuntu)
« Reply #3 on: August 06, 2016, 02:42:41 PM »

I'm on Ubuntu 16.04 and i get this warning :
Code: [Select]
W: http://download.mono-project.com/repo/debian/dists/wheezy/snapshots/3.12.0/InRelease: Signature by key 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF uses weak digest algorithm (SHA1)
just after the :

Code: [Select]
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/3.12.0 main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update

Anyone know how could i fix this ? plz  :'(




Logged

rubenwardy

  • Muffalo
  • *
  • Posts: 11
  • Refugee
    • View Profile
    • rubenwardy.com
Re: [Tutorial] Monodevelop and .NET 3.5 on Debian based Linux (Eg: Ubuntu)
« Reply #4 on: August 06, 2016, 02:49:08 PM »

You should be able to ignore it and it will still work
Logged
Computer science student, game developer, and open source contributor. Twitter

Robostove

  • Muffalo
  • *
  • Posts: 16
  • Refugee
    • View Profile
Re: [Tutorial] Monodevelop and .NET 3.5 on Debian based Linux (Eg: Ubuntu)
« Reply #5 on: October 26, 2016, 02:58:32 PM »

Following the tutorial I'm failing to install the snapshot for mono-complete. It's missing the correct dependencies because when I run the following, the 4.2.1 libmono libraries are installed.
Code: [Select]
sudo apt-get install build-essential cli-common libgtk2.0-cil-dev libglade2.0-cil-dev libgnome2.0-cil-dev libgconf2.0-cil-dev

I'm using Ubuntu 16.04. I successfully removed my existing Mono installation using the following command. (The tutorial steps weren't removing Mono fully)
Code: [Select]
sudo apt-get purge libmono* cli-common mono-runtime
Can anyone help me sort this out?
Logged

Thirite

  • Colonist
  • ***
  • Posts: 734
    • View Profile
Re: [Tutorial] Monodevelop and .NET 3.5 on Debian based Linux (Eg: Ubuntu)
« Reply #6 on: November 10, 2016, 10:48:54 PM »

For whatever reason I could not install the snapshot using the "sudo apt-get install -t wheezy/snapshots/3.12.0 mono-complete" line in the OP. However I found a solution online that worked.

Edit your /etc/apt/sources.list.d/mono-xamarin.list to have only this line:
deb download.mono-project.com/repo/debian wheezy/snapshots/3.12.0/. main

Then you simply enter in the terminal "sudo apt-get install mono-complete" it will keep it held at 3.12.0.

Found here:
http://stackoverflow.com/questions/33763177/install-older-version-of-mono
Logged

Thirite

  • Colonist
  • ***
  • Posts: 734
    • View Profile
Re: [Tutorial] Monodevelop and .NET 3.5 on Debian based Linux (Eg: Ubuntu)
« Reply #7 on: January 21, 2017, 11:48:16 PM »

So I recently updated to 16.04, and had to reinstall mono. Had troubles, again. What a surprise.

I used aptitude to install mono 3.12.0, which resolved whatever issues apt-get was throwing at me.
Logged

rogerbacon

  • Muffalo
  • *
  • Posts: 13
  • Refugee
    • View Profile
Re: [Tutorial] Monodevelop and .NET 3.5 on Debian based Linux (Eg: Ubuntu)
« Reply #8 on: February 09, 2017, 07:47:54 PM »

What is the advantage of using MonoDevlop over something like Visual Studio?
Logged

rubenwardy

  • Muffalo
  • *
  • Posts: 11
  • Refugee
    • View Profile
    • rubenwardy.com
Re: [Tutorial] Monodevelop and .NET 3.5 on Debian based Linux (Eg: Ubuntu)
« Reply #9 on: February 09, 2017, 07:54:30 PM »

What is the advantage of using MonoDevlop over something like Visual Studio?

Visual Studio only supports Windows
Logged
Computer science student, game developer, and open source contributor. Twitter

mephasor

  • Muffalo
  • *
  • Posts: 1
  • Refugee
    • View Profile
Re: [Tutorial] Monodevelop and .NET 3.5 on Debian based Linux (Eg: Ubuntu)
« Reply #10 on: April 12, 2017, 02:22:56 PM »

I am using Linux Mint 18 and cannot get this to run.

After adding the source, updating and reinstalling the packages, my mono version is still 4.2.*

So far the only useful discussion on this that I could find is this: https://www.reddit.com/r/linuxquestions/comments/5x1y0v/installing_mono_3120/

However, this does not seem to help me either. Did anyone try this recently?
Logged

rubenwardy

  • Muffalo
  • *
  • Posts: 11
  • Refugee
    • View Profile
    • rubenwardy.com
Re: [Tutorial] Monodevelop and .NET 3.5 on Debian based Linux (Eg: Ubuntu)
« Reply #11 on: April 12, 2017, 02:49:22 PM »

What output do you get with the following commands?

apt-cache show mono-devel
apt-cache policy mono-devel
« Last Edit: April 12, 2017, 02:52:25 PM by rubenwardy »
Logged
Computer science student, game developer, and open source contributor. Twitter

roxxploxx

  • Drifter
  • **
  • Posts: 44
  • Modder
    • View Profile

I had the same issues on a mac, with MonoDevelop not supporting .Net 3.5. I tried doing some of this but I instead virtualized Windows 10 to run Visual Studio. I set up a shared drive so I could use my Mac's development tools and then the build process and disassemble tools of Windows.

Here's what I ended up doing.
  https://github.com/roxxploxx/RimWorldModGuide/wiki/SHORTTUTORIAL:-Mac-Modding-HowTo

Hope it helps.

Arcane_Chill

  • Muffalo
  • *
  • Posts: 4
  • Refugee
    • View Profile

I'm using Linux Mint 18.1 and I kept having some issues.  Finally, I ended up having to explicitly list every required mono package and its dependency by version, but this seems to have worked.

Code: [Select]
sudo apt-get install mono-runtime=3.12.1-0xamarin1 mono-runtime-sgen=3.12.1-0xamarin1 mono-runtime-common=3.12.1-0xamarin1 mono-gac=3.12.1-0xamarin1 mono-4.0-gac=3.12.1-0xamarin1 libmono-corlib4.5-cil=3.12.1-0xamarin1 libmono-security4.0-cil=3.12.1-0xamarin1 libmono-system4.0-cil=3.12.1-0xamarin1 libmono-system-configuration4.0-cil=3.12.1-0xamarin1 libmono-system-xml4.0-cil=3.12.1-0xamarin1 libmono-system-security4.0-cil=3.12.1-0xamarin1

Edit: That wasn't 100% the solution, you may need this as well:
Code: [Select]
sudo apt-get install mono-gmcs=3.12.1-0xamarin1 mono-mcs=3.12.1-0xamarin1 libmono-system-core4.0-cil=3.12.1-0xamarin1 libmono-microsoft-csharp4.0-cil=3.12.1-0xamarin1 libmono-corlib4.5-cil=3.12.1-0xamarin1 libmono-csharp4.0c-cil=3.12.1-0xamarin1 libmono-system-core4.0-cil=3.12.1-0xamarin1 libmono-posix4.0-cil=3.12.1-0xamarin1
« Last Edit: May 28, 2017, 07:27:56 PM by Arcane_Chill »
Logged

bpf

  • Muffalo
  • *
  • Posts: 2
  • Refugee
    • View Profile

I got mono 3.12.1 installed, but I'm currently fumbling around in MonoDevelop trying to make anything at all appear. I have Assembly-CSharp.dll open, but I'm otherwise just looking at a blank screen. Am I missing something obvious here?

[attachment deleted by admin due to age]
Logged
Pages: [1] 2