[Mono-dev] base call hoisting (error) and MonoDevelop w/Moonlight
m.j.hutchinson at gmail.com
Fri Jul 9 17:53:13 EDT 2010
On Fri, Jul 9, 2010 at 5:31 PM, ted leslie <tleslie at tcn.net> wrote:
> I have built a successful
> from:: co svn://anonsvn.mono-project.com/source/trunk/
> but on the monodevelop I get errors:
> This error:
> ./MonoDevelop.AspNet.Gui/AspProjectDom.cs(91,50): error CS0584: Internal compiler error: base call hoisting
> ./MonoDevelop.AspNet.Gui/AspProjectDom.cs(91,25): error CS1579: foreach statement cannot operate on variables of type `object' because it does not contain a definition for `GetEnumerator' or is not accessible
> Since the "hoist" error effects the GetToolsPath in Moonlight (in MD), it may be the reason for my
> MD moonlight build issue. If not, then there seems to be two seperate issues.
> The fact that MD errors once, then not the next time, and "appears" to generate a successful moonlight
> app, only to have to give a "blank" plugin (in browser), probably isn't correct behavior, even if I
> somehow F'd up my install? (check for empty *.g.resources file?)
> (but I like to think I did the install like anyone else would have).
The root of the problem is a C# compiler bug ("Internal error") in mcs
trunk. It's likely there other issues are knock-on effects - maybe
your workaround is returning bad values.
More information about the Mono-devel-list