Success! I was able to build monodevelop from master by including the correct PCLs (links below, thanks Romain!) and applying the small git diff attached. I created a default console project in MD and ran it, but that's as far as I took my exploration (so far).
Thanks very much for everyones help. Mikayla, thanks so much for your support. So, about that "patch". I basically just hacked something out of a file in a language i know nothing about. It seemed trivial enough (someones not going to get a popup)? I don't use fsharp so.... On another note, I was poking around on the .net core sites. I wonder what's going to happen with monodevelop and .net core? It seems they (er, you?) have side stepped mono entirely. Anyway, I'm going to enjoy my small irrelevant victory. Cheers! Russ Romains zip. I haven't tested it yet, but it unzips fine. https://romain.blogreen.org/distfiles/PortableReferenceAssemblies-2014-04-14.zip tar I created using 7zip. https://github.com/FreeBSD-DotNet/Microsoft-PCLs Frameworks: russellh@prescott:~/Git/monodevelop% pkg info fsharp fsharp-4.0.1.10 Name : fsharp Version : 4.0.1.10 Installed on : Tue Aug 16 23:37:05 2016 PDT Origin : lang/fsharp Architecture : freebsd:10:x86:64 Prefix : /usr/local Categories : lang Licenses : APACHE20 Maintainer : m...@freebsd.org WWW : http://fsharp.org/ Comment : Functional and object-oriented language for the .NET platform Annotations : Flat size : 45.5MiB Description : F# is an open-source, strongly typed, multi-paradigm programming language encompassing functional, imperative and object-oriented programming techniques. F# is most often used as a cross-platform CLI language, but can also be used to generate JavaScript and GPU code. F# is developed by The F# Software Foundation and Microsoft. An open source, cross-platform edition of F# is available from the F# Software Foundation. F# is also a fully supported language in Visual Studio. Other tools supporting F# development include Mono, MonoDevelop, SharpDevelop and the WebSharper tools for JavaScript and HTML5 web programming. F# originated as a variant of ML and has been influenced by OCaml, C#, Python, Haskell, Scala and Erlang. WWW: http://fsharp.org/ russellh@prescott:~/Git/monodevelop% pkg info mono mono-4.4.2.11 Name : mono Version : 4.4.2.11 Installed on : Sun Aug 14 22:57:25 2016 PDT Origin : lang/mono Architecture : freebsd:10:x86:64 Prefix : /usr/local Categories : lang Licenses : Maintainer : m...@freebsd.org WWW : http://www.mono-project.com/ Comment : Open source implementation of .NET Development Framework Shared Libs required: libinotify.so.0 Shared Libs provided: libmonosgen-2.0.so.1 libmonoboehm-2.0.so.1 libikvm-native.so libmono-profiler-iomap.so.0 libmono-profiler-aot.so.0 libmono-profiler-log.so.0 libMonoSupportW.so libMonoPosixHelper.so Annotations : cpe : cpe:2.3:a:mono:mono:4.4.2.11:::::freebsd10:x64 Flat size : 178MiB Description : Mono is an open source implementation of .NET Development Framework. Its objective is to enable UNIX developers to build and deploy cross-platform .NET Applications. The project implements various technologies developed by Microsoft that have now been submitted to the ECMA for standardization. Mono provides the necessary software to develop and run .NET client and server applications on BSD, Linux, Solaris, Mac OS X, Windows, and Unix. WWW: http://www.mono-project.com/ On Thu, Aug 18, 2016 at 2:15 PM, Russell Haley <russ.ha...@gmail.com> wrote: > On Tue, Aug 16, 2016 at 11:59 PM, Romain Tartière <rom...@blogreen.org> wrote: >> On Tue, Aug 16, 2016 at 10:37:28PM -0700, Russell Haley wrote: >>> Thanks for this Romain, I'm just getting around to it now. It looks >>> like Nuget is now part of the mono make system so there's not much >>> there to do. I tried to contact the master site in your patch >>> http://storage.bos.xamarin.com/bot-provisioning/ >>> >>> but it didn't respond. >> >> Seems currently broken, I hope it has not been decomissioned. In the >> meantime, I lukily still have the distfile around, I made it avialble >> here: >> >> https://romain.blogreen.org/distfiles/PortableReferenceAssemblies-2014-04-14.zip > > If you would like to simply publish your port file with a re-direct to > this zip I would be just as happy with that. It appears this file is > "well formed" as the directories are respected when I open it from > PC-BSD (gui or non-gui). I guess I'll compare against the "newer" list > I have. > >>> I don't know if you saw, but I tried installing the official microsoft >>> pcl reference binaries. They need to be extracted on Windows from the >>> binary installer (exe) and then the zip file doesn't work in FreeBSD >>> (doesn't respect the MSDOS directory names). I've put a tar file up >>> on github under Freebsd-dotnet and I'll try my hand at a port file. >> >> Maybe it's worth double-checking this is permitted :-) Also, maybe >> checking the differences with >> https://github.com/mono/reference-assemblies makes sense? > > I did try the mono reference assemblies once before but will look at it again.
diff --git a/main/external/fsharpbinding/MonoDevelop.FSharpBinding/FSharpTextEditorCompletion.fs b/main/external/fsharpbinding/MonoDevelop.FSharpBinding/FSharpTextEditorCompletion.fs index 7446875..8f0022f 100644 --- a/main/external/fsharpbinding/MonoDevelop.FSharpBinding/FSharpTextEditorCompletion.fs +++ b/main/external/fsharpbinding/MonoDevelop.FSharpBinding/FSharpTextEditorCompletion.fs @@ -88,27 +88,27 @@ type FsiMemberCompletionData(displayText, completionText, icon) = DisplayFlags = DisplayFlags.DescriptionHasMarkup, Icon = icon) - override x.CreateTooltipInformation (_smartWrap, cancel) = - match FSharpInteractivePad.Fsi with - | Some pad -> - match pad.Session with - | Some session -> + //override x.CreateTooltipInformation (_smartWrap, cancel) = + // match FSharpInteractivePad.Fsi with + // | Some pad -> + // match pad.Session with + // | Some session -> // get completions from remote fsi process - pad.RequestTooltip displayText - - let computation = - async { - let! tooltip = Async.AwaitEvent (session.TooltipReceived) - match tooltip with - | MonoDevelop.FSharp.Shared.ToolTip (signature, xmldoc, footer) -> - let! tooltipInfo = SymbolTooltips.getTooltipInformationFromTip (signature, xmldoc, footer) - return tooltipInfo - | MonoDevelop.FSharp.Shared.EmptyTip -> - return TooltipInformation() - } - Async.StartAsTask(computation, cancellationToken = cancel) - | _ -> Task.FromResult (TooltipInformation()) - | _ -> Task.FromResult (TooltipInformation()) + // pad.RequestTooltip displayText + + //let computation = + // async { + //let! tooltip = Async.AwaitEvent (session.TooltipReceived) + //match tooltip with + //| MonoDevelop.FSharp.Shared.ToolTip (signature, xmldoc, footer) -> + // let! tooltipInfo = SymbolTooltips.getTooltipInformationFromTip (signature, xmldoc, footer) + // return tooltipInfo + //| MonoDevelop.FSharp.Shared.EmptyTip -> + // return TooltipInformation() + // } + //Async.StartAsTask(computation, cancellationToken = cancel) + // | _ -> Task.FromResult (TooltipInformation()) + // | _ -> Task.FromResult (TooltipInformation()) module Completion = type Context = {
_______________________________________________ freebsd-mono@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-mono To unsubscribe, send any mail to "freebsd-mono-unsubscr...@freebsd.org"