Unable to restore packages with .targets files.
Steps to reproduce:
1) Create Portable Class Library Project.
2) nuget-install Microsoft.Bcl.Async (for example)
3) Enable NuGet package restore
4) Close solution and cleanup packages folder
5) Try to rebuild project. Build fails with message like:
[project].csproj : error : The imported project "[path]\packages\Microsoft.Bcl.Build.1.0.0-rc\tools\Microsoft.Bcl.Build.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
Comments: > I have same issue "Microsoft.Bcl.Build.targets” was not found prevent my from loading project using async on a machine without "packages" folder. I also encountered this error today... Kind of frustrating... I tried to update all the nugets on my projects and It add Microsoft.Bcl.Build that is causing that error on our build server... Hope it'll be fix soon... That's kind of a show stopper for us... Thanks..
Steps to reproduce:
1) Create Portable Class Library Project.
2) nuget-install Microsoft.Bcl.Async (for example)
3) Enable NuGet package restore
4) Close solution and cleanup packages folder
5) Try to rebuild project. Build fails with message like:
[project].csproj : error : The imported project "[path]\packages\Microsoft.Bcl.Build.1.0.0-rc\tools\Microsoft.Bcl.Build.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
Comments: > I have same issue "Microsoft.Bcl.Build.targets” was not found prevent my from loading project using async on a machine without "packages" folder. I also encountered this error today... Kind of frustrating... I tried to update all the nugets on my projects and It add Microsoft.Bcl.Build that is causing that error on our build server... Hope it'll be fix soon... That's kind of a show stopper for us... Thanks..