[MonoDevelop] F# addin
Dave Thomas
kukulcanenator at gmail.com
Sat Mar 16 20:55:59 UTC 2013
If your building from trunk then that will be 4.0.2 which is not currently supported by the binding yet. Its a known Breaking change from monodevelop 4.0.2.
If you pull mike krugers fork then that should fix the issue.
On 16 Mar 2013, at 20:21, "artyom.szasa at gmail.com" <artyom.szasa at gmail.com> wrote:
> Hi!
>
> I'm trying to use F# addin with monodevelop 4 (built from git trunk, Git revision: 408bb261addbe30ab36303e11711eaf75a60172d) on mono 3.0.8 (git trunk).
>
> F# addin installed via built-in Addin manager.
>
> Monodevelop can't create .fs files... Neither when creating a project nor after the project is created. Exception:
>
> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: Method not found: 'Mono.TextEditor.Highlighting.ResourceXmlProvider.Open'.
> at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
> at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in /home/artyom/build/mono-git/mcs/class/corlib/System.Reflection/MonoMethod.cs:552
> --- End of inner exception stack trace ---
> at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00013] in /home/artyom/build/mono-git/mcs/class/corlib/System.Reflection/MonoMethod.cs:558
> at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x000af] in /home/artyom/build/mono-git/mcs/class/corlib/System/Activator.cs:329
> at System.Activator.CreateInstance (System.Type type) [0x00000] in /home/artyom/build/mono-git/mcs/class/corlib/System/Activator.cs:222
> at Mono.Addins.TypeExtensionNode.CreateInstance () [0x00000] in /home/artyom/build/monodevelop-git/main/external/mono-addins/Mono.Addins/Mono.Addins/TypeExtensionNode.cs:93
> at MonoDevelop.SourceEditor.SyntaxModeCodon.get_SyntaxMode () [0x00000] in /home/artyom/build/monodevelop-git/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SyntaxModeCodon.cs:42
> at MonoDevelop.SourceEditor.SyntaxModeService+<SyntaxModeService>c__AnonStorey17.<>m__60 (Mono.TextEditor.TextDocument d) [0x00000] in /home/artyom/build/monodevelop-git/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SyntaxModeService.cs:45
> at Mono.TextEditor.Highlighting.SyntaxModeProvider.Create (Mono.TextEditor.TextDocument doc) [0x00000] in /home/artyom/build/monodevelop-git/main/src/core/Mono.Texteditor/Mono.TextEditor.Highlighting/SyntaxMode.cs:839
> at Mono.TextEditor.Highlighting.SyntaxModeService.GetSyntaxMode (Mono.TextEditor.TextDocument doc, System.String mimeType) [0x00047] in /home/artyom/build/monodevelop-git/main/src/core/Mono.Texteditor/Mono.TextEditor.Highlighting/SyntaxModeService.cs:157
> at MonoDevelop.Ide.Gui.Document.GetCommentTags (System.String fileName) [0x00024] in /home/artyom/build/monodevelop-git/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:879
> at MonoDevelop.Ide.StandardHeader.StandardHeaderService.GetHeader (MonoDevelop.Projects.AuthorInformation authorInfo, MonoDevelop.Ide.StandardHeader.StandardHeaderPolicy policy, MonoDevelop.Ide.Gui.Content.TextStylePolicy textPolicy, System.String fileName, Boolean newFile) [0x00001] in /home/artyom/build/monodevelop-git/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.StandardHeader/StandardHeaderService.cs:57
> at MonoDevelop.Ide.StandardHeader.StandardHeaderService.GetHeader (MonoDevelop.Projects.SolutionItem policyParent, System.String fileName, Boolean newFile) [0x0005a] in /home/artyom/build/monodevelop-git/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.StandardHeader/StandardHeaderService.cs:51
> at MonoDevelop.Ide.Templates.SingleFileDescriptionTemplate.CreateFileContent (MonoDevelop.Projects.SolutionItem policyParent, MonoDevelop.Projects.Project project, System.String language, System.String fileName, System.String identifier) [0x00088] in /home/artyom/build/monodevelop-git/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Templates/SingleFileDescriptionTemplate.cs:278
> at MonoDevelop.Ide.Templates.SingleFileDescriptionTemplate.SaveFile (MonoDevelop.Projects.SolutionItem policyParent, MonoDevelop.Projects.Project project, System.String language, System.String baseDirectory, System.String entryName) [0x00064] in /home/artyom/build/monodevelop-git/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Templates/SingleFileDescriptionTemplate.cs:204
> at MonoDevelop.Ide.Templates.SingleFileDescriptionTemplate.AddFileToProject (MonoDevelop.Projects.SolutionItem policyParent, MonoDevelop.Projects.Project project, System.String language, System.String directory, System.String name) [0x00001] in /home/artyom/build/monodevelop-git/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Templates/SingleFileDescriptionTemplate.cs:113
> at MonoDevelop.Ide.Templates.SingleFileDescriptionTemplate.AddToProject (MonoDevelop.Projects.SolutionItem policyParent, MonoDevelop.Projects.Project project, System.String language, System.String directory, System.String name) [0x00001] in /home/artyom/build/monodevelop-git/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Templates/SingleFileDescriptionTemplate.cs:108
> at MonoDevelop.Ide.Templates.FileTemplateReference.AddToProject (MonoDevelop.Projects.SolutionItem policyParent, MonoDevelop.Projects.Project project, System.String language, System.String directory, System.String entryName) [0x00089] in /home/artyom/build/monodevelop-git/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Templates/FileTemplateReference.cs:83
> at MonoDevelop.Ide.Templates.ProjectDescriptor.InitializeItem (MonoDevelop.Projects.SolutionItem policyParent, MonoDevelop.Projects.ProjectCreateInformation projectCreateInformation, System.String defaultLanguage, MonoDevelop.Projects.SolutionEntityItem item) [0x00213] in /home/artyom/build/monodevelop-git/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Templates/ProjectDescriptor.cs:162
>
> Is there any quick solution? Should I create a bug for Monodevelop or should I create a bug for FSharp binding? In later case where should I do that?
>
> Best regards,
> Artyom Antyipin
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
More information about the Monodevelop-list
mailing list