Skip to content

Commit 89f5576

Browse files
Replace our instructions for configuring workloads with a .vsconfig
Why give instructions for this if we can just make it work automatically!
1 parent 39ff916 commit 89f5576

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

.vsconfig

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"version": "1.0",
3+
"components": [
4+
"Microsoft.VisualStudio.Workload.CoreEditor",
5+
"Microsoft.VisualStudio.Workload.ManagedDesktop",
6+
"Microsoft.VisualStudio.Workload.NetCoreTools",
7+
"Microsoft.VisualStudio.Workload.VisualStudioExtension"
8+
]
9+
}

Roslyn.sln

+6
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,12 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.VisualStudio.Lang
424424
EndProject
425425
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IdeBenchmarks", "src\Tools\IdeBenchmarks\IdeBenchmarks.csproj", "{FF38E9C9-7A25-44F0-B2C4-24C9BFD6A8F6}"
426426
EndProject
427+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{157EA250-2F28-4948-A8F2-D58EAEA05DC8}"
428+
ProjectSection(SolutionItems) = preProject
429+
.editorconfig = .editorconfig
430+
.vsconfig = .vsconfig
431+
EndProjectSection
432+
EndProject
427433
Global
428434
GlobalSection(SharedMSBuildProjectFiles) = preSolution
429435
src\Compilers\VisualBasic\BasicAnalyzerDriver\BasicAnalyzerDriver.projitems*{2523d0e6-df32-4a3e-8ae0-a19bffae2ef6}*SharedItemsImports = 4

docs/contributing/Building, Debugging, and Testing on Windows.md

-8
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,6 @@ The minimal required version of .NET Framework is 4.7.2.
2424
1. Run Restore.cmd
2525
1. Open Roslyn.sln
2626

27-
If you already installed Visual Studio and need to add the necessary work loads or move to Preview 4:
28-
do the following:
29-
30-
- Run the Visual Studio Installer from your start menu. You can just search for "Visual Studio Installer". If you can't find it, it's typically located at "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe"
31-
- The Visual Studio installation will be listed under the Installed section
32-
- Click on the menu icon (three horizontal lines), click Modify
33-
- Choose the workloads listed above and click Modify
34-
3527
## Running Tests
3628

3729
There are a number of options for running the core Roslyn unit tests:

0 commit comments

Comments
 (0)