Archive
Posts Tagged ‘target’
Opening project in Visual Studio fails due to nuget.targets not found error
January 22, 2016
Leave a comment
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!
Categories: ASP.NET
ASP.NET, Import, nuget, nuget.targets, target, target not found
Comments