E
E
elisey4742018-11-13 19:59:46
C++ / C#
elisey474, 2018-11-13 19:59:46

Is it possible to use the Visual Studio compiler without the rest of the program?

On Linux, I'm used to using a text editor and gcc. And here, as I understand it, Visul Studio has a monopoly (mingw does not count, since it is not native, but broadcasts posix calls)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
res2001, 2018-11-13
@res2001

Of course you can.
The compiler package includes build utilities: nmake and msbuild.
nmake is a heavily cut analog of gnu make. But make can also be taken from mingw.
msbuild is a utility for building MSVC projects from the command line. To use it, you need project files from MSVC.
In addition, Microsoft distributes the Build tools for visual studio package - this is a compiler + utilities without the studio itself. It is enough for assembly.
When installing both MSVS and Build Tools, Native Tools Command Promt is installed - a command line pre-configured for assembly - and build in it.

S
Stanislav Makarov, 2018-11-13
@Nipheris

https://visualstudio.microsoft.com/downloads/#build...

Build Tools for Visual Studio 2017
These Build Tools allow you to build Visual Studio projects from a command-line interface. Supported projects include: ASP.NET, Azure, C++ desktop, ClickOnce, containers, .NET Core, .NET Desktop, Node.js, Office and SharePoint, Python, TypeScript, Unit Tests, UWP, WCF, and Xamarin.

In the installer, select the packages you need. This is NOT a complete Visual Studio, although the installer is similar.

G
German, 2018-11-13
@mrjbom

Yes, compilation utilities are in separate files.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question