I have downloaded a visual studio solution from a source control repository like github or tfs but now the project is not building. It's giving an error message - referenced component 'EntityFramework' could not be found.
In this scenario, the issue is that Entity Framework has been added as a NuGet package and the package has not been restored. It's not necessary to store packages in source control as these can be downloaded and installed on the fly. So, to enable automatic restore of packages, click on Tools > NuGet Package Manager > Package Manager Settings . A prompt will appear where "Allow NuGet to download missing packages" and "Automatically check for missing packages during build in visual studio" needs to be ticked.