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: As I have said, this was not an oversight. We were aware of this issue, and we are working on a new implementation of package restore that will solve this issue. Thank you for your patience.
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: As I have said, this was not an oversight. We were aware of this issue, and we are working on a new implementation of package restore that will solve this issue. Thank you for your patience.