Our Blogs

Microsoft .NET Core 2 Gets Better With Visual Basic Support For Linux & macOS

August 28, 2017
873 Views
Microsoft .NET Core 2 Gets Better With Visual Basic Support For Linux & macOS
Microsoft has announced that the .NET Core 2 will be upgraded in such a way to provide support for Visual Basic to Linux and macOS. With .NET Core 2, the Visual Basic developers will be able to write class libraries and console apps that are compatible with multi-platform. Hence, you will be able to work with the same executable or library with Linux and macOS.

After the installation of the .NET Core 2 SDK, you will be able to create Visual Basic projects. Although Visual Studio is not mandatory, it is advisable if you install it since the IDE will be helpful. Microsoft has bundled four Visual Basic templates with .NET Core 2 such as console application, class library, unit/xUnit test projects. T

To run, you need to provide the command dotnet –version on the prompt. After that, you need to create a new directory to carry your new project. You can then create a new project based on one of the provided templates. Finally, you need to run dotnet run to launch the relevant project.

As part of the new development, the Visual Basic developers on .NET Core will be able to make use of the ASP.NET Core. According to Microsoft, templates developed by Microsoft's Immo Landwerth will be made available within the next few days. They are not included with the .NET Core 2.

That said, Visual Basic developers will be able to write cross-platform code for macOS and Linux. This was not made possible prior to the release of the .NET Core 2.