Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VB.NET on Linux

Tags:

linux

vb.net

Is it possible to run VB.NET in Linux?

I have written code in VB.NET and compiled it as well using Visual Studio in Windows.

Can the same code be written (and compiled) on Linux as well?

If yes, then which software do I need to install on Linux?

Is the Linux alternative of VB.NET freeware?

like image 297
Sandhya Jha Avatar asked May 20 '11 05:05

Sandhya Jha


People also ask

Can I run VB net in Linux?

You can run Visual Basic, VB.NET, C# code and applications on Linux. The most popular . NET IDE is Visual Studio (now in version 2019) that runs in Windows and macOS. A good alternative for Linux users is Visual Studio Code (runs on Linux, Windows and Mac).

Is .NET supported on Linux?

.NET is open-source and cross-platform, with free development tools for Linux, Windows, and macOS. .NET is supported by Microsoft.

Can Visual Studio run on Linux?

For its part, Microsoft documentation says: "Visual Studio 2022 enables you to build and debug apps for Linux using C++, Python, and Node.

Can you build .NET on Linux?

. NET is an open source software framework for building cross-platform applications on Linux, Windows, and macOS.


2 Answers

Gambas Basic is actively developed and works good. Here you can find a small tutorial for programming a calculator:

Gambas Basic 3.14

like image 133
Peter Bauer Avatar answered Sep 24 '22 02:09

Peter Bauer


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

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

You can compile and run VB.NET code and applications (part of .NET framework, consider the successor of Visual Basic, with several language differences from Visual Basic 6.0). A subset of .NET is .NET Core that can be installed on

  • Red Hat Linux,
  • Ubuntu,
  • Linux Mint,
  • Debian,
  • Fedora,
  • CentOS,
  • Oracle Linux
  • and openSUSE Linux distributions.

Setup details are 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 distributions.

You can run most Windows applications (created with VB, VB.NET or with other tools) using Wine that supports the Windows API on Linux.

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

Note that the last version of visual basic is 6.0, released in 1998, declared legacy during 2008 and supported on Windows XP, Windows Vista, Windows Server 2008 including R2, Windows 7, Windows Server 2012, and Windows 8.x. There are also other basic flavors (like QuickBASIC, 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 Visual Basic 6.0 applications: support ended on April 8, 2014.
  • Visual Basic 6.0 Runtime Extended Files: support ended on April 8, 2014.
like image 23
Pedro Polonia Avatar answered Sep 27 '22 02:09

Pedro Polonia