[MonoDevelop] Parser errors with MonoDevelop 2.6 beta1 on Mac

jmalcolm malcolm.justin at gmail.com
Thu Mar 3 11:45:24 EST 2011


Hello,

I am trying to develop an ASP.NET MVC2 app on OS X. Anytime I add a helper
method to the .aspx page I get an error on the first parenthesis. For
example, if I try to type "<%: Html.TextBoxFor(" I get the following:

System.ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
  at
System.Collections.Generic.List`1[MonoDevelop.Projects.Dom.IType].get_Item
(Int32 index) [0x00000] in :0 
  at
System.Collections.ObjectModel.ReadOnlyCollection`1[MonoDevelop.Projects.Dom.IType].get_Item
(Int32 index) [0x00000] in :0 
  at MonoDevelop.AspNet.Gui.AspProjectDomWrapper.CheckType (IType type)
[0x00019] in
/Users/michael/Mono/md-2-6/main/src/addins/AspNet/MonoDevelop.AspNet/MonoDevelop.AspNet.Gui/AspProjectDom.cs:54 
  at MonoDevelop.AspNet.Gui.AspProjectDomWrapper.ResolveType (IType type)
[0x0000e] in
/Users/michael/Mono/md-2-6/main/src/addins/AspNet/MonoDevelop.AspNet/MonoDevelop.AspNet.Gui/AspProjectDom.cs:69 
  at MonoDevelop.CSharp.Resolver.NRefactoryResolver.SetupResolver
(DomLocation resolvePosition, Boolean clearCache) [0x00081] in
/Users/michael/Mono/md-2-6/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Resolver/NRefactoryResolver.cs:185 
  at MonoDevelop.CSharp.Resolver.NRefactoryResolver.SetupResolver
(DomLocation resolvePosition) [0x00000] in
/Users/michael/Mono/md-2-6/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Resolver/NRefactoryResolver.cs:170 
  at MonoDevelop.CSharp.Resolver.NRefactoryResolver.Resolve
(MonoDevelop.Projects.Dom.ExpressionResult expressionResult, DomLocation
resolvePosition) [0x00000] in
/Users/michael/Mono/md-2-6/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Resolver/NRefactoryResolver.cs:466 
  at
MonoDevelop.CSharp.Completion.CSharpTextEditorCompletion.HandleParameterCompletion
(MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext,
Char completionChar) [0x00179] in
/Users/michael/Mono/md-2-6/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Completion/CSharpTextEditorCompletion.cs:843 
  at
MonoDevelop.CSharp.Completion.AspLanguageBuilder.HandleParameterCompletion
(MonoDevelop.Ide.Gui.Document realDocument,
MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext,
MonoDevelop.AspNet.Gui.DocumentInfo info,
MonoDevelop.AspNet.Gui.LocalDocumentInfo localInfo, Char completionChar)
[0x0000d] in
/Users/michael/Mono/md-2-6/main/src/addins/CSharpBinding/AspNet/AspLanguageBuilder.cs:133 
  at MonoDevelop.AspNet.Gui.AspNetEditorExtension.HandleParameterCompletion
(MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext,
Char completionChar) [0x00030] in
/Users/michael/Mono/md-2-6/main/src/addins/AspNet/MonoDevelop.AspNet/MonoDevelop.AspNet.Gui/AspNetEditorExtension.cs:306 
  at MonoDevelop.Ide.Gui.Content.CompletionTextEditorExtension.KeyPress (Key
key, Char keyChar, ModifierType modifier) [0x001b7] in
/Users/michael/Mono/md-2-6/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/CompletionTextEditorExtension.cs:151 
  at MonoDevelop.XmlEditor.Gui.BaseXmlEditorExtension.KeyPress (Key key,
Char keyChar, ModifierType modifier) [0x0001e] in
/Users/michael/Mono/md-2-6/main/src/addins/MonoDevelop.XmlEditor/MonoDevelop.XmlEditor.Gui/BaseXmlEditorExtension.cs:181 
  at MonoDevelop.AspNet.Gui.AspNetEditorExtension.KeyPress (Key key, Char
keyChar, ModifierType modifier) [0x00074] in
/Users/michael/Mono/md-2-6/main/src/addins/AspNet/MonoDevelop.AspNet/MonoDevelop.AspNet.Gui/AspNetEditorExtension.cs:283 
  at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress (Key key, Char
keyChar, ModifierType modifier) [0x00013] in
/Users/michael/Mono/md-2-6/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorExtension.cs:115 
  at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress (Key key, Char
keyChar, ModifierType modifier) [0x00013] in
/Users/michael/Mono/md-2-6/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorExtension.cs:115 
  at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress (Key key, Char
keyChar, ModifierType modifier) [0x00013] in
/Users/michael/Mono/md-2-6/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorExtension.cs:115 
  at MonoDevelop.SourceEditor.ExtensibleTextEditor.ExtensionKeyPress (Key
key, UInt32 ch, ModifierType state) [0x00000] in
/Users/michael/Mono/md-2-6/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/ExtensibleTextEditor.cs:240 

Is anybody else running into this issue?

--
View this message in context: http://mono.1490590.n4.nabble.com/Parser-errors-with-MonoDevelop-2-6-beta1-on-Mac-tp3333707p3333707.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.


More information about the Monodevelop-list mailing list