VB Command Line Compiler in Visual Studio 2017
How to use the VB command line compiler provided by Visual Studio 2017?
If you want to use the compile your VB code from the command line, you can follow this tutorial to use the VB command line compiler provided in Visual Studio 2017:
1. Create a simple VB console application program, Hello.vb:
Module MyModule Sub Main() Console.WriteLine("Hello World!") End Sub End Module
2. Run "All Programs > Visual Studio 2017 > Visual Studio Tools > Developer Command Prompt for VS 2017". You see the Visual Studio Command Prompt window.
3. Compile the VB program with the vbc command:
C:\fyicenter>vbc Hello.vb Microsoft (R) Visual Basic Compiler version 22.214.171.124624 Copyright (C) Microsoft Corporation. All rights reserved.
4. Run the VB program:
C:\fyicenter>Hello.exe Hello World!
2017-08-07, 752👍, 0💬
How To Control Horizontal Alignment in Table Cells? By default, text in all table cells are aligned ...
What Is Azure API Management Service? Azure API Management as a turnkey solution for publishing APIs...
Where to find tutorials on how to use PHP built-in functions to manage arrays? A collection of tutor...
Where is API Management Service on my Azure Portal? If your IT department has signed up for an Azure...
How to view EPUB 2.0 metadata in Calibre book Library? You can follow this tutorial to view EPUB 2.0...