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!
⇒ "MyLib.cs" - VC# Class and Library
⇐ Console App with VC# Code in Visual Studio 2017
2017-08-08, 1799🔥, 0💬
Popular Posts:
How To Remove Slashes on Submitted Input Values in PHP? By default, when input values are submitted ...
How to create the Hello-3.0.epub package? I have all required files to create Hello-3.0.epub. To cre...
How to read Atom validation errors at w3.org? If your Atom feed has errors, the Atom validator at w3...
What validation keywords I can use in JSON Schema to specifically validate JSON Array values? The cu...
How to decode the id_token value received from Google OpenID Connect authentication response? Accord...