A: I have an ASP.NET website (not a web project) with 3 library projects in this solution. I used to use SVN , but now Git is used. I installed git locally on a computer (used as a server) and used it to merge the source code with other developers. In addition, I am using Visual Studio 2015 Community Edition, which provides tools for working with git.
Problem: After cloning a project from the main repository, I create a project to run it. Building a project shows a dialog box that says "Package recovery." This process creates a folder called Packages, and this folder includes all the packages listed in the packages.config file. But after the restoration is complete, the project throws the following exception:
This exception is displayed for each package (here Autofac).
Could not find Autofac namespace name or name (are you missing the using directive or assembly references?)
Work . To solve this problem, I need to remove every package and install it again, and the problem is solved. This is the thing that I have to do over and over for every machine for developers, which is also frustrating and time consuming.
Has anyone encountered the same issue related to Nuget, git and the ASP.NET website.
vivek source share