VS2019 C++安装最基本的组件

发布时间:2024年01月12日

我是C++初学者, 我只想用最基本的C++编写程序,不需要MFC。 所以下载了一个离线安装版本放在这里,我自己用的现成的文件。 使用以下命令行创建:

1.C++基本组件 不含MFC,?带ATL库 共(1.96G)

vs2019.exe --layout d:\vs2019 --lang zh-CN --add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Component.CoreEditor --add Microsoft.Component.MSBuild --add Microsoft.VisualStudio.Component.VC.CoreIde --add Microsoft.VisualStudio.Component.VC.Redist.14.Latest --add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core  --add  Microsoft.VisualStudio.Component.Debugger.JustInTime     --add Microsoft.VisualStudio.Component.Windows10SDK.19041   --add Microsoft.Net.Component.4.6.1.TargetingPack   --add Microsoft.VisualStudio.Component.JavaScript.Diagnostics --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64  --add Microsoft.VisualStudio.Component.VC.ATL  --add Microsoft.Component.HelpViewer

现成的安装文件下载,不需要连接到网络,使用vs_stup.exe --noweb 参数安装

备份下载地址:
VS2019精简版本只有C++功能,有ATL库/WIN10SDK(不含MFC)资源-CSDN文库

2.包含typescript
?

vs2019.exe --layout d:\vs2019 --lang zh-CN --add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Component.CoreEditor --add Microsoft.Component.MSBuild --add Microsoft.VisualStudio.Component.VC.CoreIde --add Microsoft.VisualStudio.Component.VC.Redist.14.Latest --add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core  --add  Microsoft.VisualStudio.Component.Debugger.JustInTime   --add  Microsoft.VisualStudio.Component.JavaScript.TypeScript --add Microsoft.VisualStudio.Component.Roslyn.LanguageServices --add Microsoft.VisualStudio.Component.TypeScript.4.3 --add Microsoft.VisualStudio.Component.Windows10SDK.19041   --add Microsoft.Net.Component.4.6.1.TargetingPack  --add Microsoft.Net.Component.4.8.SDK --add Microsoft.VisualStudio.Component.JavaScript.Diagnostics --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64  --add Microsoft.VisualStudio.Component.VC.ATL --add Microsoft.Component.HelpViewer

C++开发全部组件

Desktop development with C++

ID:?Microsoft.VisualStudio.Workload.NativeDesktop

Description:?Build modern C++ apps for Windows using tools of your choice, including MSVC, Clang, CMake, or MSBuild.

Components included by this workload

Expand table

Component IDNameVersionDependency type
Microsoft.Component.MSBuildMSBuild16.11.33214.272Required
Microsoft.VisualStudio.Component.Roslyn.CompilerC# and Visual Basic Roslyn compilers16.0.28714.129Required
Microsoft.VisualStudio.Component.TextTemplatingText Template Transformation16.0.28625.61Required
Microsoft.VisualStudio.Component.VC.CoreIdeC++ core features16.10.31205.252Required
Microsoft.VisualStudio.Component.VC.Redist.14.LatestC++ 2019 Redistributable Update16.5.29515.121Required
Microsoft.VisualStudio.ComponentGroup.NativeDesktop.CoreC++ core desktop features16.2.29012.281Required
Component.Microsoft.VisualStudio.LiveShareLive Share1.0.4441Recommended
Microsoft.VisualStudio.Component.Debugger.JustInTimeJust-In-Time debugger16.0.28517.75Recommended
Microsoft.VisualStudio.Component.Graphics.ToolsGraphics debugger and GPU profiler for DirectX16.0.28625.61Recommended
Microsoft.VisualStudio.Component.IntelliCodeIntelliCode16.11.31603.221Recommended
Microsoft.VisualStudio.Component.JavaScript.TypeScriptJavaScript and TypeScript language support16.11.31404.150Recommended
Microsoft.VisualStudio.Component.NuGetNuGet package manager16.1.28829.92Recommended
Microsoft.VisualStudio.Component.Roslyn.LanguageServicesC# and Visual Basic16.10.31205.252Recommended
Microsoft.VisualStudio.Component.TypeScript.4.3TypeScript 4.3 SDK16.0.31506.151Recommended
Microsoft.VisualStudio.Component.VC.ASANC++ AddressSanitizer16.10.31205.252Recommended
Microsoft.VisualStudio.Component.VC.ATLC++ ATL for latest v142 build tools (x86 & x64)16.4.29313.120Recommended
Microsoft.VisualStudio.Component.VC.CMake.ProjectC++ CMake tools for Windows16.3.29103.31Recommended
Microsoft.VisualStudio.Component.VC.DiagnosticToolsC++ profiling tools16.5.29515.121Recommended
Microsoft.VisualStudio.Component.VC.TestAdapterForBoostTestTest Adapter for Boost.Test16.0.28517.75Recommended
Microsoft.VisualStudio.Component.VC.TestAdapterForGoogleTestTest Adapter for Google Test16.0.28517.75Recommended
Microsoft.VisualStudio.Component.VC.Tools.x86.x64MSVC v142 - VS 2019 C++ x64/x86 build tools (Latest)16.11.32406.258Recommended
Microsoft.VisualStudio.Component.Windows10SDK.19041Windows 10 SDK (10.0.19041.0)16.10.31205.252Recommended
Microsoft.VisualStudio.ComponentGroup.WebToolsExtensionsASP.NET and web development16.11.32413.511Recommended
Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions.CMakeJSON editor16.11.32413.511Recommended
Component.IncredibuildIncredibuild - Build Acceleration16.10.31205.252Optional
Component.IncredibuildMenuIncrediBuildMenu1.5.0.13Optional
Microsoft.Component.VC.Runtime.UCRTSDKWindows Universal CRT SDK16.0.28625.61Optional
Microsoft.Net.Component.4.6.1.TargetingPack.NET Framework 4.6.1 targeting pack16.0.28517.75Optional
Microsoft.Net.Component.4.8.SDK.NET Framework 4.8 SDK16.4.29313.120Optional
Microsoft.VisualStudio.Component.JavaScript.DiagnosticsJavaScript diagnostics16.0.28517.75Optional
Microsoft.VisualStudio.Component.VC.140MSVC v140 - VS 2015 C++ build tools (v14.00)16.10.31205.252Optional
Microsoft.VisualStudio.Component.VC.ATLMFCC++ MFC for latest v142 build tools (x86 & x64)16.4.29313.120Optional
Microsoft.VisualStudio.Component.VC.CLI.SupportC++/CLI support for v142 build tools (Latest)16.10.31205.252Optional
Microsoft.VisualStudio.Component.VC.Llvm.ClangC++ Clang Compiler for Windows (12.0.0)16.11.31603.221Optional
Microsoft.VisualStudio.Component.VC.Llvm.ClangToolsetC++ Clang-cl for v142 build tools (x64/x86)16.3.29207.166Optional
Microsoft.VisualStudio.Component.VC.Modules.x86.x64C++ Modules for v142 build tools (x64/x86 – experimental)16.0.28625.61Optional
Microsoft.VisualStudio.Component.VC.Tools.ARM64MSVC v142 - VS 2019 C++ ARM64 build tools (Latest)16.11.32406.258Optional
Microsoft.VisualStudio.Component.VC.v141.x86.x64MSVC v141 - VS 2017 C++ x64/x86 build tools (v14.16)16.10.31205.252Optional
Microsoft.VisualStudio.Component.Windows10SDK.16299Windows 10 SDK (10.0.16299.0)16.10.31205.252Optional
Microsoft.VisualStudio.Component.Windows10SDK.17134Windows 10 SDK (10.0.17134.0)16.10.31205.252Optional
Microsoft.VisualStudio.Component.Windows10SDK.17763Windows 10 SDK (10.0.17763.0)16.0.28517.75Optional
Microsoft.VisualStudio.Component.Windows10SDK.18362Windows 10 SDK (10.0.18362.0)16.1.28829.92Optional
Microsoft.VisualStudio.Component.Windows11SDK.22000Windows 11 SDK (10.0.22000.0)16.11.31727.170Optional
Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.ClangC++ Clang tools for Windows (12.0.0 - x64/x86)16.11.31603.221Optional

文章来源:https://blog.csdn.net/aasmfox/article/details/135496342
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。