Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error 22 The "EnsureBindingRedirects" task could not be loaded from the assembly

I cloned a project with vs 2013. When I run it I get this error.

Error   1   The "EnsureBindingRedirects" task could not be loaded from the assembly D:\BMaster\packages\Microsoft.Bcl.Build.1.0.13\tools\Microsoft.Bcl.Build.Tasks.dll. Could not load file or assembly 'file:///D:\BMaster\packages\Microsoft.Bcl.Build.1.0.13\tools\Microsoft.Bcl.Build.Tasks.dll' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.   BargainMaster.Web 
like image 357
codegrid Avatar asked Feb 05 '14 10:02

codegrid


1 Answers

I'm not sure about root cause of this issue but it appeared when I added missing libraries by hand.

I resolved it by doing this:

  1. Delete <solution>\packages\Microsoft.Bcl.Build.1.0.13\
  2. Close solution
  3. Open solution
  4. Navigate to View / Other Windows / Package Manager Console
  5. Press Restore Packages in right top corner of the window
  6. Re-build
like image 92
Milan Jaros Avatar answered Oct 02 '22 13:10

Milan Jaros