Tools, FAQ, Tutorials:
VC# Command Line Compiler in Visual Studio 2017
How to use the VC# command line compiler provided by Visual Studio 2017?
✍: FYIcenter.com
If you want to use the compile your VC# code from the command line,
you can follow this tutorial to use the VC# command line compiler provided in Visual Studio 2017:
1. Create a simple VC# console application program, Hello.vb:
using System; namespace Hello { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
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 VC# program with the vbc command:
C:\fyicenter>csc Hello.cs Microsoft (R) Visual C# Compiler version 2.2.0.61624 Copyright (C) Microsoft Corporation. All rights reserved.
4. Run the VC# program:
C:\fyicenter>Hello.exe Hello World!
Â
⇒First Visual C# Program in Visual Studio 2017
⇒⇒Visual Studio Tutorials
2017-08-08, 1271👍, 0💬
Popular Posts:
How to add an API to an API product for internal testing on the Publisher Portal of an Azure API Man...
How to use the urllib.request.Request object to build more complex HTTP request? The urllib.request....
How to use the "rewrite-uri" Policy Statement for an Azure API service operation? The "rewrite-uri" ...
What Are Python Built-in Primitive Data Types? Python Built-in Primitive Data Types are data types p...
How To Move Uploaded Files To Permanent Directory in PHP? PHP stores uploaded files in a temporary d...