[MonoDevelop] Problem Building MD in MD v2.2.1

Michael Hutchinson m.j.hutchinson at gmail.com
Fri Feb 5 16:04:34 EST 2010


On Sat, Jan 30, 2010 at 5:12 PM, Scott Willeke <scott at willeke.com> wrote:
> I upgraded to MD 2.2.1 from the site and am no longer able to build MD from
> trunk. I get the following error in the "Error List" pad:
>
> Error: The compiler appears to have crashed. Check the build output pad for
> details. (MonoDevelop.Debugger.Tests)
>
> In the build output window I see information like the following as the
> MonoDevelop.Debugger.Tests project attempts to build:
>
> **
> (/Library/Frameworks/Mono.framework/Versions/2.6.1/lib/mono/2.0/gmcs.exe:590):
> WARNING **: The following assembly referenced from
> /Users/scott/Projects/monodevelop/svn/main/build/AddIns/MonoDevelop.Debugger/MonoDevelop.Debugger.dll
> could not be loaded:
>      Assembly:   MonoDevelop.Ide    (assemblyref_index=3)
>      Version:    2.2.0.0
>      Public Key: (none)
> The assembly was not found in the Global Assembly Cache, a path listed in
> the MONO_PATH environment variable, or in the location of the executing
> assembly
> (/Users/scott/Projects/monodevelop/svn/main/build/AddIns/MonoDevelop.Debugger/).
>
> **
> (/Library/Frameworks/Mono.framework/Versions/2.6.1/lib/mono/2.0/gmcs.exe:590):
> WARNING **: Could not load file or assembly 'MonoDevelop.Ide,
> Version=2.2.0.0, Culture=neutral, PublicKeyToken=null' or one of its
> dependencies.
> **
> (/Library/Frameworks/Mono.framework/Versions/2.6.1/lib/mono/2.0/gmcs.exe:590):
> WARNING **: The following assembly referenced from
> /Users/scott/Projects/monodevelop/svn/main/build/AddIns/MonoDevelop.Debugger/MonoDevelop.Debugger.dll
> could not be loaded:
>      Assembly:   MonoDevelop.Projects.Gui    (assemblyref_index=8)
>      Version:    2.2.0.0
>      Public Key: (none)
> The assembly was not found in the Global Assembly Cache, a path listed in
> the MONO_PATH environment variable, or in the location of the executing
> assembly
> (/Users/scott/Projects/monodevelop/svn/main/build/AddIns/MonoDevelop.Debugger/).
>
> **
> (/Library/Frameworks/Mono.framework/Versions/2.6.1/lib/mono/2.0/gmcs.exe:590):
> WARNING **: Could not load file or assembly 'MonoDevelop.Projects.Gui,
> Version=2.2.0.0, Culture=neutral, PublicKeyToken=null' or one of its
> dependencies.
> **
> (/Library/Frameworks/Mono.framework/Versions/2.6.1/lib/mono/2.0/gmcs.exe:590):
> WARNING **: Could not load file or assembly 'MonoDevelop.Projects.Gui,
> Version=2.2.0.0, Culture=neutral, PublicKeyToken=null' or one of its
> dependencies.
> **
> (/Library/Frameworks/Mono.framework/Versions/2.6.1/lib/mono/2.0/gmcs.exe:590):
> WARNING **: Could not load file or assembly 'MonoDevelop.Projects.Gui,
> Version=2.2.0.0, Culture=neutral, PublicKeyToken=null' or one of its
> dependencies.
> **
> (/Library/Frameworks/Mono.framework/Versions/2.6.1/lib/mono/2.0/gmcs.exe:590):
> WARNING **: Could not load file or assembly 'MonoDevelop.Ide,
> Version=2.2.0.0, Culture=neutral, PublicKeyToken=null' or one of its
> dependencies.
>
> If I just open 2.2 and recompile the same exact source it works fine every
> time. I checked and the references on the command line given to the compiler
> appears to be the same in both 2.2 and 2.2.1.
> I did make some changes to my local copy that I'm working with that might be
> complicating things, but in any case I'd like to learn and understand why
> this is occurring. So if someone can help me understand what's going on and
> how to fix it I will appreciate it.

The MonoDevelop.Debugger project is probably missing some needed references.

MD < 2.2.1 copied all referenced projects' referenced assemblies into
the build directory to enable gmcs to find the referenced projects'
references during the build. This was wasteful and incompatible with
VS' behaviour so we changed it. If the compiler needs a
reference-of-a-reference during the build it must be must referenced
explicitly too.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list