Is it possible to run LINQPad with Mono (Mac)
how to use linqpad
linqpad for python
linqpad target framework
I have installed Mono 2.6.7 in Snow Leopard and would like to run LINQPad. I've gotten LINQPad (v2.21) to start but immediately get a FileNotFoundException. Has anyone been able to run it successfully?
I assume the exception is because it's trying to read/write a config file or something but hopefully there is some workaround.
Edit: Building Mono with "Olive" (required for WPF):
svn co svn://anonsvn.mono-project.com/source/trunk/olive cd /Users/(your user name)/olive ./configure --prefix=/Users/(your user name)/olive --with-glib=embedded make make install
Now navigate in Finder to:
/Users/(your user name)/olive/lib/mono/gac
Copy those folders (ex: PresentationCore, PresentationFramework) into:
/Library/Frameworks/Mono.framework/Versions/2.6.7/lib/mono/gac (Current Mono version is 2.6.7 but this obviously may be different)
Edit: Unfortunately, now I'm getting this when running LINQPad:
WARNING **: The class System.Windows.Resources.AssemblyAssociatedContentFileAttribute could not be loaded, used in LINQPadcould not be loaded, used in LINQPad
Edit: Xamarin Workbooks recently released 1.0 (https://developer.xamarin.com/workbooks/) and is the closest I've seen to LINQPad on macOS.
Edit (September 2017): This is still speculative!
Running most Windows applications (including GUI apps) might be possible with Docker and Windows Subsystem for Linux (WSL):
See the blog post at https://blog.jessfraz.com/post/windows-for-linux-nerds/ for a detailed walkthrough.
LINQPad doesn't work in Mono primarily because it relies on ActiPro's SyntaxEditor which does some Win32 interop. LINQPad itself also does some interop.
An early prototype of LINQPad used a TextBox instead of a syntax editor - this might be what was tested against Mono.
Support the Mono framework and run on OSX , But I would like to install it on a MacBook. Is it possible that, we can just remove all the Windows only library depedency, such as Util.Chart Possible? Sort of. This is neither a main use case of LINQPad nor of unit testing. Regarding LINQPad, you could use an existing test runner but probably the only ones that could be integrated with LINQPad are console runners. A test runner is not a trivial program. Try Xunit.Runner.LinqPad.
I also wanted to get LINQpad running under OSX and have found after using the above linked 0.92 version from Joe that it does not seem possible.
Although the app starts up under mono and displays the familiar LINQPad screen if you try and run any query it simply crashes and disappears.
Reason being is that there seems to be some use of a WebBrowser control in that LINQPad version and according to the errors displayed in the terminal window it would appear that libgluezilla is required. From doing some digging about libgluezilla I've seen a few replies from Mono devs that it isn't and won't be available for mac, which is a shame.
Error for reference:
mono linqpad.exe libgluezilla not found. To have webbrowser support, you need libgluezilla installed
Installation on MacOS?, I'm trying to see if running Linqpad is possible. I've just installed Mono, I ran Linqpad and got a missing assembly problem (PresentationCore), Stack Overflow Public questions and answers; Is it possible to run LINQPad with Mono (Mac) 64. Building C# solutions from command line with Visual Studio 2010. 17.
LinqPad is probably the one thing I miss from moving entirely to Mac for development and I'm not going to run a VM just to access it. As mentioned above, Xamarin Workbooks is actually a pretty decent replacement for macOS.
Running Linqpad on Ubuntu?, Is it possible to run LINQPad with Mono (Mac) Is it still possible to customize STL I have an external dll (let's call it A) from a nuget package that also references LINQPad doesn't work in Mono primarily because it relies on ActiPro's SyntaxEditor which does some Win32 interop. LINQPad itself also does some interop. An early prototype of LINQPad used a TextBox instead of a syntax editor - this might be what was tested against Mono.
If you look at the Mono documentation, it says that LINQPad is one of the applications they use to test their WinForms implementation:
That said, I have to imagine that they've been able to get it to work themselves.
how to add references in linqpad, I have installed Mono 2.6.7 in Snow Leopard and would like to run LINQPad. I've gotten LINQPad (v2.2. Get the latest beta (LINQPad 6) Get the latest beta (LINQPad 5) Hate installers? Download xcopy-deploy build (LINQPad 6) Download xcopy-deploy build (LINQPad 5) Running massive queries in LINQPad 5? Download LINQPad 5 for X64 (installer) Download LINQPad 5 for X64 (xcopy-deploy) (LINQPad 6 defaults to X64) Stuck on Framework 4.5 / 4.0 / 3.5?
macOS, Installing Mono on macOS#. You can use Mono either as a runtime to run existing application, or LINQPad’s Dump method is famous for its capacity to eat almost anything! Tuned with numerous heuristics, it intelligently walks object graphs for the best possible output. It even turns lazy objects into hyperlinks and asynchronous values into placeholders whose content materializes in the future!
mysql - Is there a Linux equivalent to LinqPad?, The biggest difference will be that you won't be able to use Linq it's a lighter weight option for Mac and Linux environments than some of the NET application written with Mono (version 2.6 added LINQtoSql support). Mono’s implementation of the System.Windows.Forms API is built on top of Carbon and can only run with Mono on 32 bit systems. The look and feel of System.Windows.Forms applications mimics the Windows style and does not currently render like a native macOS application.
C# IDE on the Mac? : csharp, On a Mac, this is quite a problem. What can I do to develop C# on a Macbook Air over a long time? We don't refer to the Mono runtime directly anymore. We are often asked if it is possible to run SOLIDWORKS on a Mac computer – the answer is YES you can! Watch our video summary to find out how. We know quite a few users running SOLIDWORKS successfully on a Mac, and SOLIDWORKS recently updated their system requirements to include virtualisation such as parallels.
- Can you get the exceptions details? If so print them here.
- I see in Terminal some more info:
- ** (/Users/ifwdev/Downloads/LINQPad.exe:1775): WARNING **: The following assembly referenced from /Users/ifwdev/Downloads/LINQPad.exe could not be loaded: Assembly: PresentationCore (assemblyref_index=11) Version: 22.214.171.124 Public Key: 31bf3856ad364e35
- This means that it need the WPF assembly PresentationCore - is there a mono equivalent
- Ah, maybe if I read directions better. I need "Olive" which is not included with mono by default.
- Well I guess you'd know better than anyone. At least I learned a bit about Mono anyway. Thanks Joe...
- Joe: Do you think an older version might work? (see Justin's comment)
- Update: I've tracked down an old copy of LINQPad (0.92) and uploaded it here: www.linqpad.net/LINQPad092.zip. Ensure you run it via the shortcut (which calls LINQPad with the -noupdate and -noforward switches), otherwise LINQPad will patch itself to the latest version.
- Any chance of finding another syntax editor and dealing with the Win32 dependencies? I know its not a trivial task but it might make for some great technical writing. Perhaps MS would be interested in assisting to complement their newfound OS love. This is one of the only tools I truly miss when doing Mac dev right now.
- @JoeAlbahari Any updates on this since .NET Core is gaining traction? I'd really love to run LINQPad on Ubuntu.
- @ifwdev - I just saw the exception you posted. It looks like the newer versions of LINQPad require WPF (which Mono doesn't implement). You might want to try downloading a previous version of LINQPad.