我是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++开发全部组件
ID:?Microsoft.VisualStudio.Workload.NativeDesktop
Description:?Build modern C++ apps for Windows using tools of your choice, including MSVC, Clang, CMake, or MSBuild.
Expand table
Component ID | Name | Version | Dependency type |
---|---|---|---|
Microsoft.Component.MSBuild | MSBuild | 16.11.33214.272 | Required |
Microsoft.VisualStudio.Component.Roslyn.Compiler | C# and Visual Basic Roslyn compilers | 16.0.28714.129 | Required |
Microsoft.VisualStudio.Component.TextTemplating | Text Template Transformation | 16.0.28625.61 | Required |
Microsoft.VisualStudio.Component.VC.CoreIde | C++ core features | 16.10.31205.252 | Required |
Microsoft.VisualStudio.Component.VC.Redist.14.Latest | C++ 2019 Redistributable Update | 16.5.29515.121 | Required |
Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core | C++ core desktop features | 16.2.29012.281 | Required |
Component.Microsoft.VisualStudio.LiveShare | Live Share | 1.0.4441 | Recommended |
Microsoft.VisualStudio.Component.Debugger.JustInTime | Just-In-Time debugger | 16.0.28517.75 | Recommended |
Microsoft.VisualStudio.Component.Graphics.Tools | Graphics debugger and GPU profiler for DirectX | 16.0.28625.61 | Recommended |
Microsoft.VisualStudio.Component.IntelliCode | IntelliCode | 16.11.31603.221 | Recommended |
Microsoft.VisualStudio.Component.JavaScript.TypeScript | JavaScript and TypeScript language support | 16.11.31404.150 | Recommended |
Microsoft.VisualStudio.Component.NuGet | NuGet package manager | 16.1.28829.92 | Recommended |
Microsoft.VisualStudio.Component.Roslyn.LanguageServices | C# and Visual Basic | 16.10.31205.252 | Recommended |
Microsoft.VisualStudio.Component.TypeScript.4.3 | TypeScript 4.3 SDK | 16.0.31506.151 | Recommended |
Microsoft.VisualStudio.Component.VC.ASAN | C++ AddressSanitizer | 16.10.31205.252 | Recommended |
Microsoft.VisualStudio.Component.VC.ATL | C++ ATL for latest v142 build tools (x86 & x64) | 16.4.29313.120 | Recommended |
Microsoft.VisualStudio.Component.VC.CMake.Project | C++ CMake tools for Windows | 16.3.29103.31 | Recommended |
Microsoft.VisualStudio.Component.VC.DiagnosticTools | C++ profiling tools | 16.5.29515.121 | Recommended |
Microsoft.VisualStudio.Component.VC.TestAdapterForBoostTest | Test Adapter for Boost.Test | 16.0.28517.75 | Recommended |
Microsoft.VisualStudio.Component.VC.TestAdapterForGoogleTest | Test Adapter for Google Test | 16.0.28517.75 | Recommended |
Microsoft.VisualStudio.Component.VC.Tools.x86.x64 | MSVC v142 - VS 2019 C++ x64/x86 build tools (Latest) | 16.11.32406.258 | Recommended |
Microsoft.VisualStudio.Component.Windows10SDK.19041 | Windows 10 SDK (10.0.19041.0) | 16.10.31205.252 | Recommended |
Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions | ASP.NET and web development | 16.11.32413.511 | Recommended |
Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions.CMake | JSON editor | 16.11.32413.511 | Recommended |
Component.Incredibuild | Incredibuild - Build Acceleration | 16.10.31205.252 | Optional |
Component.IncredibuildMenu | IncrediBuildMenu | 1.5.0.13 | Optional |
Microsoft.Component.VC.Runtime.UCRTSDK | Windows Universal CRT SDK | 16.0.28625.61 | Optional |
Microsoft.Net.Component.4.6.1.TargetingPack | .NET Framework 4.6.1 targeting pack | 16.0.28517.75 | Optional |
Microsoft.Net.Component.4.8.SDK | .NET Framework 4.8 SDK | 16.4.29313.120 | Optional |
Microsoft.VisualStudio.Component.JavaScript.Diagnostics | JavaScript diagnostics | 16.0.28517.75 | Optional |
Microsoft.VisualStudio.Component.VC.140 | MSVC v140 - VS 2015 C++ build tools (v14.00) | 16.10.31205.252 | Optional |
Microsoft.VisualStudio.Component.VC.ATLMFC | C++ MFC for latest v142 build tools (x86 & x64) | 16.4.29313.120 | Optional |
Microsoft.VisualStudio.Component.VC.CLI.Support | C++/CLI support for v142 build tools (Latest) | 16.10.31205.252 | Optional |
Microsoft.VisualStudio.Component.VC.Llvm.Clang | C++ Clang Compiler for Windows (12.0.0) | 16.11.31603.221 | Optional |
Microsoft.VisualStudio.Component.VC.Llvm.ClangToolset | C++ Clang-cl for v142 build tools (x64/x86) | 16.3.29207.166 | Optional |
Microsoft.VisualStudio.Component.VC.Modules.x86.x64 | C++ Modules for v142 build tools (x64/x86 – experimental) | 16.0.28625.61 | Optional |
Microsoft.VisualStudio.Component.VC.Tools.ARM64 | MSVC v142 - VS 2019 C++ ARM64 build tools (Latest) | 16.11.32406.258 | Optional |
Microsoft.VisualStudio.Component.VC.v141.x86.x64 | MSVC v141 - VS 2017 C++ x64/x86 build tools (v14.16) | 16.10.31205.252 | Optional |
Microsoft.VisualStudio.Component.Windows10SDK.16299 | Windows 10 SDK (10.0.16299.0) | 16.10.31205.252 | Optional |
Microsoft.VisualStudio.Component.Windows10SDK.17134 | Windows 10 SDK (10.0.17134.0) | 16.10.31205.252 | Optional |
Microsoft.VisualStudio.Component.Windows10SDK.17763 | Windows 10 SDK (10.0.17763.0) | 16.0.28517.75 | Optional |
Microsoft.VisualStudio.Component.Windows10SDK.18362 | Windows 10 SDK (10.0.18362.0) | 16.1.28829.92 | Optional |
Microsoft.VisualStudio.Component.Windows11SDK.22000 | Windows 11 SDK (10.0.22000.0) | 16.11.31727.170 | Optional |
Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang | C++ Clang tools for Windows (12.0.0 - x64/x86) | 16.11.31603.221 | Optional |