Downloaded a new Application. One that I will have to build myself.
Launched Visual Studio and issued Build Command via menu.
Ran into build errors.
The first one reads:
The referenced component ‘Microsoft.Web.Infrastructure’ could not be found.
Have a lot of work to do this Saturday morning.
And, so let us address.
Package Manager Console
Running Visual Studio 2017 Community Edition, and the steps to access the Package Manager Console are:
- Navigate to the top menu
- Menu Item
- NuGet Package Manger
- Package Manager Console
Attempting to gather dependency information for package 'Microsoft.Web.Infrastructure.1.0.0' with respect to project '[ProjectA]', targeting '.NETFramework,Version=v4.5.1' Gathering dependency information took 120.25 ms Attempting to resolve dependencies for package 'Microsoft.Web.Infrastructure.1.0.0' with DependencyBehavior 'Lowest' Resolving dependency information took 0 ms Resolving actions to install package 'Microsoft.Web.Infrastructure.1.0.0' Resolved actions to install package 'Microsoft.Web.Infrastructure.1.0.0' Retrieving package 'Microsoft.Web.Infrastructure 1.0.0' from 'nuget.org'. Adding package 'Microsoft.Web.Infrastructure.1.0.0' to folder '<app>\\packages' Added package 'Microsoft.Web.Infrastructure.1.0.0' to folder '<app>\\packages' Added package 'Microsoft.Web.Infrastructure.1.0.0' to 'packages.config' Successfully installed 'Microsoft.Web.Infrastructure 1.0.0' to <ProjectA> Executing nuget actions took 5.42 sec Time Elapsed: 00:00:07.5704133 PM>
Crediting Joshua Davis per “FileNotFoundException: Could not load file or assembly ‘Microsoft.Web.Infrastructure“. Here is the Link.
Joshua Davis’s about page is worthy of good, congratulatory read. Here is the link to that page.