[Pkg-mono-devel] monodevelop will not compile application

Chris Capon abyss@pathcom.com
Sun, 23 May 2004 15:53:28 -0400


Using the new packages from "www.meebey.net" I've been trying out
monodevelop.  It seem to have a problem compiling project source code.

Later in this E-Mail are installation details, but here are the steps
which reproduce the problem:

1) start monodevelop
2) menu: File, New Solution/Project
3) C#, Console project
4) Name: Sam
5) Click "New"
6) menu: Run, Compile All
------ Build started: Project: Sam Configuration: Debug ------

Performing main compilation...
Build complete -- 0 errors, 0 warnings

---------------------- Done ----------------------

Build: 1 succeeded, 0 failed

7) menu: Run, Run
cannot open assembly /home/cc/mono/Sam/bin/Debug/Sam.exe

press any key to continue...

8) when I check the sub-directories under the project folder there are
no files in bin/Debug.

9) If I introduce a syntax error in Main.cs MainClass, recompiling does
not produce any errors, it still says "Build: 1 succeeded, 0 failed",
but it also does not produce any files.


Installation details:

This machine previously had the version of mono installed from
debian.org/unstable (probably 0.31?).

I removed all previous mono .deb's before installing using "dpkg -P",
then I install monodevelop like this:

sources.list
  deb http://www.meebey.net/debian/mono ./
  deb http://www.meebey.net/debian/mcs ./
  deb http://people.debian.org/~blade/testing ./
  deb http://www.meebey.net/debian/monodevelop ./
  deb http://www.meebey.net/debian/monodoc ./
  deb http://www.meebey.net/debian/gtk-sharp ./
  deb http://www.meebey.net/debian/gtksourceview-sharp ./
  deb http://www.meebey.net/debian/gecko-sharp ./

  apt-get update
  apt-get -t unstable install monodevelop

Here are the packages it installs
-----------------------------
The following extra packages will be installed:
  gconf-sharp gecko-sharp glib-sharp gnome-sharp gtk-sharp
gtk-sharp-glue
  gtksourceview-sharp libicu28 libmono0 mono-assemblies-base mono-common
  mono-jit monodoc monodoc-base monodoc-browser monodoc-manual
Suggested packages:
  monodoc-http
Recommended packages:
  icu mono-assemblies-arch
The following NEW packages will be installed:
  gconf-sharp gecko-sharp glib-sharp gnome-sharp gtk-sharp
gtk-sharp-glue
  gtksourceview-sharp libicu28 libmono0 mono-assemblies-base mono-common
  mono-jit monodevelop monodoc monodoc-base monodoc-browser
monodoc-manual
0 upgraded, 17 newly installed, 0 to remove and 25 not upgraded.
------------------------------

I notice that mono-mcs is missing.  Should it be a dependency?

To make sure, I forced the installation of all other mono packages
using:

apt-get -t unstable install libicu28 gecko-sharp gtksourceview-sharp
monodevelop gconf-sharp glib-sharp gnome-sharp gtk-sharp gtk-sharp-glue
libmono0 mono mono-assemblies-base mono-assemblies-arch mono-xsp
mono-common mono-jit mono-mcs mono-mint mono-utils monodoc-base monodoc
monodoc-browser monodoc-http monodoc-manual

Everything installed cleanly with no errors but monodevelop produces the
same messages as above and will not compile the project files.


Other things I notice are that usually when running monodevelop for the
first time, it asks how it should build the intelisense help database
(quick or full), but now it doesn't.

Is there a way of rebuilding that help file or does the latest
MonoDevelop take care of it by itself?

Is it possible that old configuration files from previous versions are
still around messing up the install?  I previously purge the packages
when removing using "dpkg -P".


BTW, The rest of my debian install is kernel 2.6.5 (compiled from
source) and the system is up-to-date with the testing release.

Cha', Chris.