mono-complete and mono-develop can't compile within ide
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mono (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
Install the two packages:
$ apt install mono-complete
$ apt install monodevelop
on a fresh Ubuntu 16.04 box. Load an existing project that compiles and works with monodevelop and mono-complete as provided by Xamarin via their website.
Installed is:
monodevelop/
Development Environment for GNOME
mono-complete/
complete Mono runtime, development tools and all libraries
Compiling with in the monodevelop ide results in CSC errors.
* Got to Build -> Build All
A number of errors occur such as:
/home/jason/
This is a standard type, so it appears there are some build/packaging issues with the version that comes from ubuntu sources.
Solution:
* For now, you have to take those from Mono itself:
# apt-key adv --keyserver hkp://keyserver
# echo "deb http://
# apt-get update
Then everything works as expected.
root@ubuntu1604
Description: Ubuntu Xenial Xerus (development branch)
Release: 16.04
root@ubuntu1604
monodevelop:
Installed: 5.10.0.871-2
Candidate: 5.10.0.871-2
Version table:
*** 5.10.0.871-2 500
500 http://
500 http://
100 /var/lib/
root@ubuntu1604
mono-complete:
Installed: 4.2.1.102+
Candidate: 4.2.1.102+
Version table:
*** 4.2.1.102+
500 http://
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: mono-complete 4.2.1.102+
ProcVersionSign
Uname: Linux 4.4.0-15-generic x86_64
ApportVersion: 2.20.1-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Sat Apr 2 20:22:53 2016
InstallationDate: Installed on 2016-03-28 (5 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Beta amd64 (20160323)
SourcePackage: mono
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- moo-complete and mono-develop can't compile within ide + mono-complete and mono-develop can't compile within ide |
Changed in mono (Ubuntu): | |
importance: | Undecided → High |
a little more detail on this topic: the references for the loaded project shows issues showing it couldn't load:
* Microsoft.CSharp
* System
* System.Core
* System.Management
gacutil shows where the packages are, so I'm not sure what's wrong yet.