Implementation of the Visual Studio 2013 package visualizer as a Visual Studio 2015 extension. Version for VS 2017 can be found here: https://github.com/brentkrueger/VisualStudio2017PackageVisualizer
The package that couldn't be found was "Microsoft.WindowsAzure.ConfigurationManager.3.1.0".
It is in the packages directory and in the packages.config of the project.
It wasn't in the Packages property.
The Packages only contained log4net.
I tried logging all packages found during the call to LoadPackageConfigs() and log4net for the very same project, was the last package to be found, even though I think more projects and packages should have been found.
When trying to run the Package Visualizer against my solution I got a dialog with "Sequence contains no matching element exception",
I tracked it down to
var projectPackage = project.Packages.First(k => k.Name.StartsWith(dependency.Id, StringComparison.InvariantCultureIgnoreCase));
https://github.com/brentkrueger/VisualStudio2015PackageVisualizer/blob/6d8fa796c27cc18c1aee0cebb55e6a9b2f85413a/PackageVisualizer/NugetPackageVisualizer.cs#L289The package that couldn't be found was "Microsoft.WindowsAzure.ConfigurationManager.3.1.0". It is in the packages directory and in the packages.config of the project. It wasn't in the
Packages
property.The
Packages
only contained log4net. I tried logging all packages found during the call toLoadPackageConfigs()
andlog4net
for the very same project, was the last package to be found, even though I think more projects and packages should have been found.If it is any help packages.config: