Visual Basic .Net in Linux

You could have a look at the Mono VisualBasic.Net support, or maybe go and check out the Gambas project.

You won't find a fully compatible solution.


You can run Visual Basic, Visual Basic.net, C# code and applications on Linux.

The most popular .net IDE is Visual Studio (now in version 2019) that runs in Windows and Mac Os. A good alternative for Linux users is Visual Studio Code (runs in Linux, Windows and Mac)

You can compile and run Visual Basic .net code and applications (part of .net framework, consider the successor of Visual Basic, with several language differences from vb6). An subset of .net is .Net Core that can be install on

  • Red Hat,
  • Ubuntu,
  • Mint,
  • Debian,
  • Fedora,
  • CentOs,
  • Oracle Linux
  • and openSUSE Linux distritutions.

Setup details on https://www.microsoft.com/net/core

You can also use Mono, a free and open-source project led by Xamarin (a subsidiary of Microsoft) and the.NET Foundation. The project focus is to support an ECMA standard-compliant .NET Framework-compatible set of tools (including a C# compiler and a Common Language Runtime).

Mono can be installed on

  • Ubuntu,
  • Debian,
  • Raspbian (used in Raspberry pi)
  • and CentOs Linux distritutions.

You can run most windows applications (created with VB, Vb.net or with other tools) using wine that supports windows API on Linux.

** About Visual Basic (not VB.net, due to original question) **

Note that the last version of visual basic is 6.0, realeased in 1998, declared legacy during 2008 and supported on Windows XP, Vista, Windows Server 2008 including R2, Windows 7, Windows Server 2012, and Windows 8.x. There are also other basic flavors (like quick basic, Gambas or others)

The support end dates for Visual Basic 6.0 are:

  • The Visual Basic 6.0 IDE [Integrated Development Environment]: supported ended on April 8, 2008.
  • Visual Basic 6.0 Runtime the base libraries and execution engine used to run VB6 applications: support ended on April 8, 2014.
  • Visual Basic 6.0 Runtime Extended Files: support ended on April 8, 2014.

There are a few, like SimpleBasic, GnomeBasic and XBasic. None of them are fully compatible with Visual Basic.


The above answer was accepted eons ago, but is horribly outdated, since more recently, there's also .Net Core. This will run the actual VB.Net language, but will not use WinForms controls and features powering most real VB.Net apps. .NET Core 3 does support some variation of WinForms, but only on Windows.

Please check Pedro Polonia's excellent answer that contains all the details that mine misses.

Tags:

Linux

Vb.Net