* Ubuntu 14.04 64 bit
* fsharp 3.0.34+dfsg-3ubuntu1
* monodevelop 4.0.12+dfsg-2
* No output from monodevelop
* Using fsharpc (which works fine):

    F# Compiler for F# 3.0 (Open Source Edition)
    Freely distributed under the Apache 2.0 Open Source License


I installed the F# language binding from the Add-in Manager. I created a
new F# Tutorial project. In the project under References, FSharp.Core it
has an error message: Assembly not found for framework Mono / .NET 4.0

If I highlight code in the .fs file and hit Alt-Enter, nothing happens.
If I highlight code and right-click I get the following error in a
popup:

Error while updating status of command:
MonoDevelop.Refactoring.RefactoryCommands.CurrentRefactoryOperations

System.TypeLoadException: Could not load type 
'<StartupCode$FSharpBinding>.$FSharpResolverProvider+ivar@155' from assembly 
'FSharpBinding, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
  at MonoDevelop.SourceEditor.ExtensibleTextEditor.GetLanguageItem (Int32 
offset, ICSharpCode.NRefactory.TypeSystem.DomRegion& region) [0x00000] in 
<filename unknown>:0 
  at MonoDevelop.SourceEditor.SourceEditorView.GetLanguageItem (Int32 offset) 
[0x00000] in <filename unknown>:0 
  at MonoDevelop.Refactoring.CurrentRefactoryOperationsHandler.GetResolveResult 
(MonoDevelop.Ide.Gui.Document doc) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Refactoring.CurrentRefactoryOperationsHandler.GetItem 
(MonoDevelop.Ide.Gui.Document doc, 
ICSharpCode.NRefactory.Semantics.ResolveResult& resolveResult) [0x00000] in 
<filename unknown>:0 
  at MonoDevelop.Refactoring.CurrentRefactoryOperationsHandler.Update 
(MonoDevelop.Components.Commands.CommandArrayInfo ainfo) [0x00000] in <filename 
unknown>:0 
  at MonoDevelop.Components.Commands.CommandHandler.InternalUpdate 
(MonoDevelop.Components.Commands.CommandArrayInfo info) [0x00000] in <filename 
unknown>:0 
  at MonoDevelop.Components.Commands.CommandManager.DefaultUpdateCommandInfo 
(MonoDevelop.Components.Commands.ActionCommand cmd, 
MonoDevelop.Components.Commands.CommandInfo info) [0x00000] in <filename 
unknown>:0 
  at MonoDevelop.Components.Commands.CommandManager.GetCommandInfo 
(System.Object commandId, MonoDevelop.Components.Commands.CommandTargetRoute 
targetRoute) [0x00000] in <filename unknown>:0 


when I close that I get another popup:

Error while updating status of command:
MonoDevelop.Ide.Commands.TextEditorCommands.ShowCodeTemplateWindow

System.Reflection.TargetInvocationException: Exception has been thrown by the 
target of an invocation. ---> System.TypeLoadException: Could not load type 
'<StartupCode$FSharpBinding>.$FSharpResolverProvider+ivar@155' from assembly 
'FSharpBinding, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
  at 
MonoDevelop.FSharp.FSharpResolverProvider.MonoDevelop-Ide-Gui-Content-ITextEditorResolverProvider-GetLanguageItem
 (MonoDevelop.Ide.Gui.Document doc, Int32 offset, System.String identifier) 
[0x00000] in <filename unknown>:0 
  at MonoDevelop.SourceEditor.ExtensibleTextEditor.GetLanguageItem (Int32 
offset, System.String expression) [0x00000] in <filename unknown>:0 
  at MonoDevelop.SourceEditor.ExtensibleTextEditor.GetTemplateContext () 
[0x00000] in <filename unknown>:0 
  at MonoDevelop.SourceEditor.SourceEditorView.GetCodeTemplateContext () 
[0x00000] in <filename unknown>:0 
  at 
MonoDevelop.Ide.Gui.Content.CompletionTextEditorExtension.ShowCodeSurroundingsCommand
 (MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext) 
[0x00000] in <filename unknown>:0 
  at 
MonoDevelop.Ide.Gui.Content.CompletionTextEditorExtension.OnUpdateShowCodeTemplatesWindow
 (MonoDevelop.Components.Commands.CommandInfo info) [0x00000] in <filename 
unknown>:0 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke 
(System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags 
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, 
System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags 
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, 
System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] 
parameters) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Components.Commands.CommandUpdaterInfo.Run (System.Object 
cmdTarget, MonoDevelop.Components.Commands.CommandInfo info) [0x00000] in 
<filename unknown>:0 
  at MonoDevelop.Components.Commands.CommandManager.GetCommandInfo 
(System.Object commandId, MonoDevelop.Components.Commands.CommandTargetRoute 
targetRoute) [0x00000] in <filename unknown>:0

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1326093

Title:
  Missing pkg-config file, so FSharp.Core assembly does not appear in
  Monodevelop

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fsharp/+bug/1326093/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to