Tools, FAQ, Tutorials:
VB Command Line Compiler in Visual Studio 2017
How to use the VB command line compiler provided by Visual Studio 2017?
✍: FYIcenter.com
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 2.2.0.61624 Copyright (C) Microsoft Corporation. All rights reserved.
4. Run the VB program:
C:\fyicenter>Hello.exe Hello World!
⇒ "MyLib.vb" - VB Class and Library
⇐ Console App with VB Code in Visual Studio 2017
2023-04-25, 2137🔥, 0💬
Popular Posts:
How to use .NET CLR Types in Azure API Policy? By default, Azure imports many basic .NET CLR (Common...
What is the "__init__()" class method? The "__init__()" class method is a special method that will b...
Where to find tutorials on RSS specifications? I want to learn it to describe my API services. Here ...
What is EPUB 3.0 Metadata "dcterms:modified" property? EPUB 3.0 Metadata "dcterms:modified" is a req...
How to use the "set-body" Policy Statement for an Azure API service operation? The "set-body" Policy...