Opening project in Visual Studio fails due to nuget.targets not found error
Problem: I try to open project in Visual Studio and get all these nuget errors: The imported project "C:\Twitterizer\.nuget\nuget.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. Solution: Follow the following steps to resolve above error
- Install Nuget.
- Right click on the solution and select “Enable NuGet Package Restore”.
- Click Ok on the warning.
- Close and re-open the solution.
Hope this help!