upleveled / system-setup

Set up a PERN development environment on Windows, macOS and Linux
28 stars 19 forks source link

Add `chocolatey-dotnetfx.extension` Windows installation step? #65

Open Eprince-hub opened 5 months ago

Eprince-hub commented 5 months ago

Sometimes, a missing dependency error occurs when Chocolatey is used to install programs. Example below shows such error when Chocolatey is being used to install visualstudio2022-workload-vctools

Unable to resolve dependency 'chocolatey-dotnetfx.extension'. Source(s) used: 'https://community.chocolatey.org/api/v2/'.

The workaround is to install the chocolatey-dotnetfx.extension that is missing as suggestions on the Chocolatey docs for such missing dependency error

choco install chocolatey-dotnetfx.extension --ignore-dependencies

If a lot of students encounter this problem, we may also want to add this as an explicit installation step in the Windows guide.