Skip to content

Commit 1d922b9

Browse files
authored
Update .vsconfig to match Visual Studio install script config (dotnet#41144)
* Update root `.vsconfig` * Update build from source docs Added instructions on configuring existing VS installation
1 parent eec2566 commit 1d922b9

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.vsconfig

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,17 @@
44
"Microsoft.Net.Component.4.6.2.TargetingPack",
55
"Microsoft.Net.Component.4.7.2.SDK",
66
"Microsoft.Net.Component.4.7.2.TargetingPack",
7+
"Microsoft.VisualStudio.Component.VC.ATL",
8+
"Microsoft.VisualStudio.Component.VC.ATL.ARM64",
9+
"Microsoft.VisualStudio.Component.VC.Tools.ARM64",
10+
"Microsoft.VisualStudio.Component.VC.Tools.x86.x64",
11+
"Microsoft.VisualStudio.Component.VC.14.29.16.11.ARM64",
12+
"Microsoft.VisualStudio.Component.VC.14.29.16.11.x86.x64",
13+
"Microsoft.VisualStudio.Component.VC.14.29.16.11.ATL.ARM64",
14+
"Microsoft.VisualStudio.Component.VC.14.29.16.11.ATL",
15+
"Microsoft.VisualStudio.Component.Windows10SDK.18362",
716
"Microsoft.VisualStudio.Workload.ManagedDesktop",
8-
"Microsoft.VisualStudio.Workload.NetCoreTools",
17+
"Microsoft.VisualStudio.Workload.NativeDesktop",
918
"Microsoft.VisualStudio.Workload.NetWeb",
1019
"Microsoft.VisualStudio.Workload.VisualStudioExtension"
1120
]

docs/BuildFromSource.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,10 @@ Building ASP.NET Core on Windows (10, version 1803 or newer) requires that you h
7474
7575
#### [Visual Studio 2022](https://visualstudio.com)
7676

77-
Visual Studio 2022 (17.1 or above) is required to build the repo locally. If you don't have Visual Studio installed you can run [eng/scripts/InstallVisualStudio.ps1](/eng/scripts/InstallVisualStudio.ps1) to install the exact required dependencies.
77+
Visual Studio 2022 (17.1 or above) is required to build the repo locally.
78+
79+
If you don't have Visual Studio installed you can run [eng/scripts/InstallVisualStudio.ps1](/eng/scripts/InstallVisualStudio.ps1) to install the exact required dependencies.
80+
If you do have Visual Studio installed, you can [import the configuration](https://docs.microsoft.com/en-us/visualstudio/install/import-export-installation-configurations?view=vs-2022#import-a-configuration) from the `.vsconfig` file at the root of the repository to ensure you have all of the required components.
7881

7982
> :bulb: By default, the script will install Visual Studio Enterprise Edition, however you can use a different edition by passing the `-Edition` flag.
8083
> :bulb: To install Visual Studio from the preview channel, you can use the `-Channel` flag to set the channel (`-Channel Preview`).

0 commit comments

Comments
 (0)