Closed
Description
(I did some digging for an issue or mention of this behaviour and could not find anything; my apologies if something does exist. Many thanks for your help)
What You Are Seeing?
I have a packages.config with the following entry:
<package id="IIS-WebServerRole" source="windowsfeatures" />
and it fails to install with the error: "The package was not found with the source(s) listed"
What is Expected?
Anything that can be installed via "choco install" (which the above can) should be supported in the packages.config. E.g. choco install IIS-WebServerRole -s windowsfeatures
succeeds on the same machine.
How Did You Get This To Happen? (Steps to Reproduce)
- Create a packages.config with the above entry (I also had a "notepadplusplus" entry but I don't think that changes the result).
- Run choco install packages.config
Output Log
https://gist.github.com/chrispellett/af88b0b4eb1969e783e9a87c300d6b9e