Skip to content

Commit e09bdcf

Browse files
committed
Add .vsconfig file to declare required VS components
Declare the following VS components as required for this solution to build: - Microsoft.Component.MSBuild - Microsoft.VisualStudio.Workload.NativeDesktop - Microsoft.VisualStudio.Workload.ManagedDesktop - Microsoft.VisualStudio.Workload.NetCoreTools - Microsoft.Net.Core.Component.SDK.2.1 - Microsoft.VisualStudio.Component.VC.v141.x86.x64 - Microsoft.Net.Component.4.6.1.TargetingPack - Microsoft.Net.Component.4.6.1.SDK Note that the Windows 10 SDK 10240 is also required, but this component is no longer shipped with VS2019.
1 parent 2258265 commit e09bdcf

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.vsconfig

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"version": "1.0",
3+
"components": [
4+
"Microsoft.Component.MSBuild",
5+
"Microsoft.VisualStudio.Workload.NativeDesktop"
6+
"Microsoft.VisualStudio.Workload.ManagedDesktop",
7+
"Microsoft.VisualStudio.Workload.NetCoreTools",
8+
"Microsoft.Net.Core.Component.SDK.2.1",
9+
"Microsoft.VisualStudio.Component.VC.v141.x86.x64",
10+
"Microsoft.Net.Component.4.6.1.TargetingPack",
11+
"Microsoft.Net.Component.4.6.1.SDK",
12+
]
13+
}

Readme.md

+2
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ You can also use Visual Studio 2019. There are a couple of options for getting a
5555
* MSVC v141 VS 2017 C++ build tools via the optional components in the Visual Studio 2019 installer. It is under the "Desktop Development with C++" heading.
5656
* Windows 10 SDK (10.0.10240.0) via the archived SDK page: https://developer.microsoft.com/en-us/windows/downloads/sdk-archive
5757

58+
Visual Studio 2019 will [automatically prompt you to install these dependencies](https://devblogs.microsoft.com/setup/configure-visual-studio-across-your-organization-with-vsconfig/) when you open the solution. The .vsconfig file that is present in the root of the repository specifies all required components _except_ the Windows 10 SDK (10.0.10240.0) as this component is no longer shipped with VS2019 - **you'll still need to install that separately**.
59+
5860
The installer can now be found at `C:\Repos\VFSForGit\BuildOutput\GVFS.Installer\bin\x64\[Debug|Release]\SetupGVFS.<version>.exe`
5961

6062
## Building VFS for Git on Mac

0 commit comments

Comments
 (0)