Error when adding NuGet packages

You may run into an error when adding a NuGet package via the context menu of the References folder. The error I got, was: “Could not find a part of the path ‘C:\pb.bvgo-appservices\VW.Archibus.GatewayService\lib’”. I found out that this error can (for some strange reason) occur when your solution is added to TFS. The solution is to unbind your solution from TFS, add the NuGet packages and then rebind the solution. Go to: File -> Source Control -> Advanced -> Change Source Control to bind and unbind.

Leave a comment