|
| 1 | +<?xml version="1.0"?> |
| 2 | +<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> |
| 3 | + <metadata> |
| 4 | + <id>visualstudio2022-workload-azure</id> |
| 5 | + <version>1.0.0-rc3</version> |
| 6 | + <packageSourceUrl>https://github.com/jberezanski/ChocolateyPackages/tree/master/visualstudio2022-workload-azure</packageSourceUrl> |
| 7 | + <owners>jberezanski</owners> |
| 8 | + <title>Azure development workload for Visual Studio 2022</title> |
| 9 | + <authors>Microsoft</authors> |
| 10 | + <projectUrl>https://visualstudio.microsoft.com/</projectUrl> |
| 11 | + <iconUrl>https://cdn.rawgit.com/jberezanski/ChocolateyPackages/7e32702d4d99f08b5b73ae9c6622b0be61a2066e/icons/vs2022.png</iconUrl> |
| 12 | + <copyright>https://www.microsoft.com/en-us/legal/intellectualproperty/permissions</copyright> |
| 13 | + <licenseUrl>https://visualstudio.microsoft.com/license-terms/vs2022-prerelease/</licenseUrl> |
| 14 | + <requireLicenseAcceptance>false</requireLicenseAcceptance> |
| 15 | + <docsUrl>https://docs.microsoft.com/en-us/visualstudio/ide/</docsUrl> |
| 16 | + <bugTrackerUrl>https://developercommunity.visualstudio.com/</bugTrackerUrl> |
| 17 | + <tags>microsoft visual studio visualstudio vs vs17 2022 workload ide azure admin</tags> |
| 18 | + <summary>Azure SDKs, tools, and projects for developing cloud apps, creating resources, and building Containers including Docker support.</summary> |
| 19 | + <description> |
| 20 | +### Overview |
| 21 | + |
| 22 | +This package adds the Azure development workload to an existing installation of Visual Studio 2022 (Enterprise, Professional or Community). |
| 23 | + |
| 24 | +The lists of components included in this workload in respective Visual Studio 2022 products are shown here: |
| 25 | +- [Enterprise](https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-enterprise?view=vs-2022#azure-development) |
| 26 | +- [Professional](https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-professional?view=vs-2022#azure-development) |
| 27 | +- [Community](https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-community?view=vs-2022#azure-development) |
| 28 | + |
| 29 | +Visual Studio 2022 must be installed first, for example using Chocolatey packages: [visualstudio2022enterprise](https://chocolatey.org/packages/visualstudio2022enterprise), [visualstudio2022professional](https://chocolatey.org/packages/visualstudio2022professional), [visualstudio2022community](https://chocolatey.org/packages/visualstudio2022community). |
| 30 | + |
| 31 | +### Customizations |
| 32 | + |
| 33 | +The package passes all package parameters to the Visual Studio installer, enabling full customization of the installation. The possible parameters are [described here](https://docs.microsoft.com/en-us/visualstudio/install/use-command-line-parameters-to-install-visual-studio?view=vs-2022). The package passes `--norestart --includeRecommended` by default, and `--quiet`, unless `--passive` is specified in the package parameters. |
| 34 | + |
| 35 | +By default, the package installs components required by and recommended for the workload. Package parameters can be used to adjust this behavior: |
| 36 | + |
| 37 | +- `--no-includeRecommended` - Does not include the recommended components. |
| 38 | +- `--includeOptional` - Includes the optional components. |
| 39 | + |
| 40 | +By default, the package will detect installed Visual Studio products and add the workload to all products that support it and do not have it installed already. |
| 41 | + |
| 42 | +In order to act on one specific product when several are installed, the product needs to be indicated to the package via parameters, either: |
| 43 | + |
| 44 | +- `--installPath` - the path where the product is installed, for example "C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise" |
| 45 | + |
| 46 | +or (both are needed): |
| 47 | + |
| 48 | +- `--productId` - the identifier of the product, for example "Microsoft.VisualStudio.Product.Enterprise" |
| 49 | +- `--channelId` - the release channel, should be "VisualStudio.17.Release" |
| 50 | + |
| 51 | +Example 1. Installing the workload on all products, including recommended, but not optional components: |
| 52 | + |
| 53 | + choco install visualstudio2022-workload-azure |
| 54 | + |
| 55 | +Example 2. Installing the workload on one specific product, including all recommended and optional components: |
| 56 | + |
| 57 | + choco install visualstudio2022-workload-azure --package-parameters "--productId Microsoft.VisualStudio.Product.Enterprise --channelId VisualStudio.17.Release --includeOptional" |
| 58 | + |
| 59 | +Example 3. Installing the workload on all products, including only required components: |
| 60 | + |
| 61 | + choco install visualstudio2022-workload-azure --package-parameters "--no-includeRecommended" |
| 62 | + |
| 63 | +[More package parameter examples](https://github.com/jberezanski/ChocolateyPackages/blob/master/chocolatey-visualstudio.extension/EXAMPLES.md) |
| 64 | + </description> |
| 65 | + <releaseNotes> |
| 66 | +##### Software |
| 67 | +[Visual Studio 2022 release notes](https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-notes) |
| 68 | +##### Package |
| 69 | +1.0.0-rc3: |
| 70 | +- Initial package release. |
| 71 | + </releaseNotes> |
| 72 | + <dependencies> |
| 73 | + <dependency id="chocolatey-visualstudio.extension" version="1.10.0" /> |
| 74 | + <dependency id="visualstudio-installer" version="2.0.2" /> |
| 75 | + <dependency id="vcredist140" version="14.29.30135" /> |
| 76 | + <!-- <dependency id="vcredist2013" version="12.0.30501.20150616" /> --> |
| 77 | + <!-- <dependency id="dotnet-5.0-runtime" version="5.0.0" /> |
| 78 | + <dependency id="dotnet-5.0-desktopruntime" version="5.0.0" /> |
| 79 | + <dependency id="dotnet-5.0-aspnetruntime" version="5.0.0" /> |
| 80 | + <dependency id="dotnetcore-3.1-runtime" version="3.1.0" /> |
| 81 | + <dependency id="dotnetcore-3.1-desktopruntime" version="3.1.0" /> |
| 82 | + <dependency id="dotnetcore-3.1-aspnetruntime" version="3.1.0" /> |
| 83 | + <dependency id="netfx-4.7.2-devpack" version="4.7.2.20220225" /> |
| 84 | + <dependency id="netfx-4.6.1-devpack" version="4.6.01055.00" /> |
| 85 | + <dependency id="netfx-4.5.2-devpack" version="4.5.5165101.20180721" /> |
| 86 | + <dependency id="KB2882822" version="1.0.3" /> --> |
| 87 | + </dependencies> |
| 88 | + </metadata> |
| 89 | +</package> |
0 commit comments