Skip to content

Commit

Permalink
Update workload mappings for 2022
Browse files Browse the repository at this point in the history
Fixes #143
  • Loading branch information
kzu committed Aug 18, 2022
1 parent 755af5e commit eee4173
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 10 deletions.
11 changes: 6 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Examples:

<!-- EXAMPLES_BEGIN -->
```
# Installs VS enterprise with the Xamarin/Mobile workload
# Installs VS enterprise with the Maui/Mobile workload
# Note the -sku: switch/prefix is optional
> vs install Enterprise +mobile
Expand Down Expand Up @@ -248,8 +248,8 @@ Examples:

<!-- EXAMPLES_BEGIN -->
```
# Runs the first VS enterprise with the Xamarin/Mobile workload
> vs -sku:ent -first +mobile
# Runs the first VS enterprise with the Maui workload
> vs -sku:ent -first +maui
# Runs VS 16.8
> vs -v:16.8
Expand Down Expand Up @@ -360,13 +360,14 @@ For commands that receive workload ID switches (i.e. `vs where -requires [WORKLO
| Alias | Workload ID |
|-----------|----------------------------|
| `mobile` | Microsoft.VisualStudio.Workload.NetCrossPlat |
| `core` | Microsoft.VisualStudio.Workload.NetCoreTools |
| `xamarin` | Microsoft.VisualStudio.Workload.NetCrossPlat |
| `maui` | Microsoft.VisualStudio.Workload.NetCrossPlat |
| `core` | Microsoft.NetCore.Component.DevelopmentTools |
| `azure` | Microsoft.VisualStudio.Workload.Azure |
| `data` | Microsoft.VisualStudio.Workload.Data |
| `desktop` | Microsoft.VisualStudio.Workload.ManagedDesktop |
| `unity` | Microsoft.VisualStudio.Workload.ManagedGame |
| `native` | Microsoft.VisualStudio.Workload.NativeDesktop |
| `xamarin` | Microsoft.VisualStudio.Workload.NetCrossPlat |
| `web` | Microsoft.VisualStudio.Workload.NetWeb |
| `node` | Microsoft.VisualStudio.Workload.Node |
| `office` | Microsoft.VisualStudio.Workload.Office |
Expand Down
2 changes: 1 addition & 1 deletion src/VisualStudio/Docs/alias.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Examples:

<!-- EXAMPLES_BEGIN -->
```
# Save the first VS enterprise with the Xamarin/Mobile workload as the "mobile" alias
# Save the first VS enterprise with the Maui/Mobile workload as the "mobile" alias
> vs -sku:ent -first +mobile -save:mobile
# Runs the saved alias with all the original arguments
Expand Down
2 changes: 1 addition & 1 deletion src/VisualStudio/Docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Examples:

<!-- EXAMPLES_BEGIN -->
```
# Installs VS enterprise with the Xamarin/Mobile workload
# Installs VS enterprise with the Maui/Mobile workload
# Note the -sku: switch/prefix is optional
> vs install Enterprise +mobile
Expand Down
5 changes: 3 additions & 2 deletions src/VisualStudio/Docs/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,14 @@ For commands that receive workload ID switches (i.e. `vs where -requires [WORKLO
| Alias | Workload ID |
|-----------|----------------------------|
| `mobile` | Microsoft.VisualStudio.Workload.NetCrossPlat |
| `core` | Microsoft.VisualStudio.Workload.NetCoreTools |
| `xamarin` | Microsoft.VisualStudio.Workload.NetCrossPlat |
| `maui` | Microsoft.VisualStudio.Workload.NetCrossPlat |
| `core` | Microsoft.NetCore.Component.DevelopmentTools |
| `azure` | Microsoft.VisualStudio.Workload.Azure |
| `data` | Microsoft.VisualStudio.Workload.Data |
| `desktop` | Microsoft.VisualStudio.Workload.ManagedDesktop |
| `unity` | Microsoft.VisualStudio.Workload.ManagedGame |
| `native` | Microsoft.VisualStudio.Workload.NativeDesktop |
| `xamarin` | Microsoft.VisualStudio.Workload.NetCrossPlat |
| `web` | Microsoft.VisualStudio.Workload.NetWeb |
| `node` | Microsoft.VisualStudio.Workload.Node |
| `office` | Microsoft.VisualStudio.Workload.Office |
Expand Down
2 changes: 1 addition & 1 deletion src/VisualStudio/Docs/run.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Examples:

<!-- EXAMPLES_BEGIN -->
```
# Runs the first VS enterprise with the Xamarin/Mobile workload
# Runs the first VS enterprise with the Maui/Mobile workload
> vs -sku:ent -first +mobile
# Runs VS 16.8
Expand Down
1 change: 1 addition & 0 deletions src/VisualStudio/Options/WorkloadOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public WorkloadOptions() : base(ImmutableArray.Create<string>())
{
{ "mobile", "Microsoft.VisualStudio.Workload.NetCrossPlat" },
{ "xamarin", "Microsoft.VisualStudio.Workload.NetCrossPlat" },
{ "maui", "Microsoft.VisualStudio.Workload.NetCrossPlat" },
{ "core", "Microsoft.VisualStudio.Workload.NetCoreTools" },
{ "azure", "Microsoft.VisualStudio.Workload.Azure" },
{ "data", "Microsoft.VisualStudio.Workload.Data" },
Expand Down

0 comments on commit eee4173

Please sign in to comment.